vue2-client 1.8.83 → 1.8.84

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.83 -2024-3-7 @江超**
4
+ **1.8.82 - 1.8.84 -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.83",
3
+ "version": "1.8.84",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -39,6 +39,17 @@ const commonApi = {
39
39
  getColumnsJson: '/api/af-system/logic/getColumns',
40
40
  }
41
41
 
42
+ /**
43
+ * 获取字典键参数
44
+ */
45
+ export function getDictionaryParam (isDev) {
46
+ let apiPre = '/api/'
47
+ if (isDev) {
48
+ apiPre = '/devApi/'
49
+ }
50
+ return post(apiPre + 'af-system/logic/getDictionaryParam', {})
51
+ }
52
+
42
53
  /**
43
54
  * 根据配置名获取配置内容
44
55
  * @param content 已有的配置内容