gxd-uni-library-editx 1.0.199 → 1.0.200
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/package.json +1 -1
- package/src/utils/nourl.js +6 -0
package/package.json
CHANGED
package/src/utils/nourl.js
CHANGED
|
@@ -61,6 +61,12 @@ function handleNoUrl(params) {
|
|
|
61
61
|
let commonParams = store.state['commonParams'] || {};
|
|
62
62
|
data = {...data, ...commonParams};
|
|
63
63
|
|
|
64
|
+
//链接未设置业务线自动补全系统业务线
|
|
65
|
+
const pageBusinessCode = store.state.pageBusinessCode || '';
|
|
66
|
+
const xnamespace = store.state.xnamespace || '';
|
|
67
|
+
if(!data.namespace) data = {...data, namespace: pageBusinessCode || xnamespace};
|
|
68
|
+
|
|
69
|
+
|
|
64
70
|
//设置页码参数
|
|
65
71
|
data['page_size'] = data['page_size'] || 10;
|
|
66
72
|
|