vue2-client 1.8.84 → 1.8.85

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
@@ -1,7 +1,7 @@
1
1
  # Change Log
2
2
  > 所有关于本项目的变化都在该文档里。
3
3
 
4
- **1.8.82 - 1.8.84 -2024-3-7 @江超**
4
+ **1.8.82 - 1.8.85 -2024-3-7 @江超**
5
5
  - 删除过时组件
6
6
  - XFormItem的下拉框数据源现在支持从配置中心获取了
7
7
  - 待解决:XTable显示来自配置中心的字典徽标
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.8.84",
3
+ "version": "1.8.85",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -66,7 +66,7 @@ export function getConfig (content, configName, serviceName = process.env.VUE_AP
66
66
  if (isDev) {
67
67
  apiPre = '/devApi/'
68
68
  }
69
- const getConfigUrl = apiPre + commonApi.getConfig
69
+ const getConfigUrl = apiPre + serviceName + '/' + commonApi.getConfig
70
70
  indexedDB.getByWeb(configName, getConfigUrl, { configName: configName }, callback)
71
71
  }
72
72
 
@@ -79,7 +79,7 @@ export function getNativeConfig (configName, serviceName = process.env.VUE_APP_S
79
79
  if (isDev) {
80
80
  apiPre = '/devApi/'
81
81
  }
82
- const getConfigUrl = apiPre + commonApi.getNativeConfig
82
+ const getConfigUrl = apiPre + serviceName + '/' + commonApi.getNativeConfig
83
83
  return post(getConfigUrl, { configName: configName })
84
84
  }
85
85