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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tianheng-ui",
3
3
  "description": "A Vue.js project",
4
- "version": "0.1.56",
4
+ "version": "0.1.57",
5
5
  "author": "shu lang <403732931@qq.com>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -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 = getProperty(this.query, e.alias) || null;
287
- setProperty(params, e.alias, value);
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;