doway-coms 2.10.33 → 2.10.35
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/packages/utils/store.js +5 -1
package/package.json
CHANGED
package/packages/utils/store.js
CHANGED
|
@@ -117,7 +117,8 @@ export default new Vuex.Store({
|
|
|
117
117
|
p => p.dictCode === extraInfo.dataSource
|
|
118
118
|
)
|
|
119
119
|
}
|
|
120
|
-
if (tempField.controlType === controlType.pulldown
|
|
120
|
+
if (tempField.controlType === controlType.pulldown && tempField.linkData
|
|
121
|
+
) {
|
|
121
122
|
tempPulldownFields.push(tempField);
|
|
122
123
|
}
|
|
123
124
|
|
|
@@ -156,6 +157,9 @@ export default new Vuex.Store({
|
|
|
156
157
|
})
|
|
157
158
|
//批量设置下拉属性
|
|
158
159
|
XEUtils.arrayEach(tempPulldownFields, (loopField) => {
|
|
160
|
+
if(!tempDataInfo[loopField.linkData]){
|
|
161
|
+
return
|
|
162
|
+
}
|
|
159
163
|
loopField['columns'] = tempDataInfo[loopField.linkData].fields;
|
|
160
164
|
loopField['pageSize'] = tempDataInfo[loopField.linkData].pageSize;
|
|
161
165
|
loopField['pageSizeOptions'] = tempDataInfo[loopField.linkData].pageSizeOptions;
|