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 +1 -1
- package/package.json +1 -1
- package/src/services/api/common.js +11 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -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 已有的配置内容
|