@indfnd/common-mobile-pro 1.0.39 → 1.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.0.40](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/compare/v1.0.39...v1.0.40) (2025-06-07)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * 修改湖北请求globle文件地址 ([c3dd7ee](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/commit/c3dd7eebe33469d59f80187aff7d1d3a922d7e0f))
11
+
5
12
  ### [1.0.39](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/compare/v1.0.38...v1.0.39) (2025-06-04)
6
13
 
7
14
 
@@ -261595,7 +261595,7 @@ const packages_components = {
261595
261595
  PreviewBox: packages_preview_box,
261596
261596
  LamboMFileBox: packages_file_box,
261597
261597
  IndMTreeSelect: packages_packages_components_tree_select,
261598
- LamboMCommonOpinion: packages_common_opinion
261598
+ LamboMCommonOpinion: packages_common_opinion,
261599
261599
  };
261600
261600
 
261601
261601
  const packages_install = function (Vue, { theme = "", config: customConfig = {} } = {}) {
@@ -261611,12 +261611,22 @@ const packages_install = function (Vue, { theme = "", config: customConfig = {}
261611
261611
  location.host +
261612
261612
  "/ind-mobile/manage/global?t=" +
261613
261613
  new Date().getTime();
261614
+
261615
+ if (location.pathname.includes("scyxweb")) {
261616
+ url =
261617
+ location.protocol +
261618
+ "//" +
261619
+ location.host +
261620
+ "/hbwebchat/scyxweb/ind-mobile/manage/global?t=" +
261621
+ new Date().getTime();
261622
+ }
261623
+
261614
261624
  packages_instance.get(url).then((data) => {
261615
261625
  if (data.smallTheme) {
261616
261626
  // 读取global配置,获取smallTheme,使用js修改.ind-small-theme下的css变量
261617
261627
  let smallThemeDom = document.getElementsByClassName("ind-small-theme")[0];
261618
261628
  packages_lodash_lodash_default().forIn(data.smallTheme, (v, k) => {
261619
- smallThemeDom.style.setProperty(k, v);
261629
+ smallThemeDom?.style.setProperty(k, v);
261620
261630
  });
261621
261631
  }
261622
261632
  const assignConfig = Object.assign({}, packages_shared_config_config, data, customConfig);
@@ -259959,7 +259959,7 @@ const packages_components = {
259959
259959
  PreviewBox: packages_preview_box,
259960
259960
  LamboMFileBox: packages_file_box,
259961
259961
  IndMTreeSelect: packages_packages_components_tree_select,
259962
- LamboMCommonOpinion: packages_common_opinion
259962
+ LamboMCommonOpinion: packages_common_opinion,
259963
259963
  };
259964
259964
 
259965
259965
  const packages_install = function (Vue, { theme = "", config: customConfig = {} } = {}) {
@@ -259975,12 +259975,22 @@ const packages_install = function (Vue, { theme = "", config: customConfig = {}
259975
259975
  location.host +
259976
259976
  "/ind-mobile/manage/global?t=" +
259977
259977
  new Date().getTime();
259978
+
259979
+ if (location.pathname.includes("scyxweb")) {
259980
+ url =
259981
+ location.protocol +
259982
+ "//" +
259983
+ location.host +
259984
+ "/hbwebchat/scyxweb/ind-mobile/manage/global?t=" +
259985
+ new Date().getTime();
259986
+ }
259987
+
259978
259988
  packages_instance.get(url).then((data) => {
259979
259989
  if (data.smallTheme) {
259980
259990
  // 读取global配置,获取smallTheme,使用js修改.ind-small-theme下的css变量
259981
259991
  let smallThemeDom = document.getElementsByClassName("ind-small-theme")[0];
259982
259992
  packages_lodash_lodash_default().forIn(data.smallTheme, (v, k) => {
259983
- smallThemeDom.style.setProperty(k, v);
259993
+ smallThemeDom?.style.setProperty(k, v);
259984
259994
  });
259985
259995
  }
259986
259996
  const assignConfig = Object.assign({}, packages_shared_config_config, data, customConfig);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@indfnd/common-mobile-pro",
4
- "version": "1.0.39",
4
+ "version": "1.0.40",
5
5
  "description": "",
6
6
  "main": "dist/gy-common-mobile-umd.min.js",
7
7
  "module": "dist/gy-common-mobile-umd.min.js",