tianheng-ui 0.1.56 → 0.1.57
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
CHANGED
@@ -136,8 +136,8 @@ export default {
|
|
136
136
|
},
|
137
137
|
mounted() {
|
138
138
|
this.generateModle(this.formConfig.list, this.models);
|
139
|
-
this.showForm = true;
|
140
139
|
this.handleMountedRemotData();
|
140
|
+
this.showForm = true;
|
141
141
|
},
|
142
142
|
methods: {
|
143
143
|
generateModle(genList, modelObj) {
|
@@ -283,8 +283,10 @@ export default {
|
|
283
283
|
};
|
284
284
|
const params = {};
|
285
285
|
for (let e of api.inParams) {
|
286
|
-
const value =
|
287
|
-
|
286
|
+
const value =
|
287
|
+
getProperty(this.models, e.pAlias) ||
|
288
|
+
getProperty(this.query, e.pAlias);
|
289
|
+
setProperty(params, e.pAlias, value);
|
288
290
|
}
|
289
291
|
if (api.needPage) {
|
290
292
|
params.pageNum = params.pageNum || 1;
|