tianheng-ui 0.1.59 → 0.1.60

Sign up to get free protection for your applications and to get access to all the features.
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.59",
4
+ "version": "0.1.60",
5
5
  "author": "shu lang <403732931@qq.com>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -268,7 +268,8 @@ export default {
268
268
  for (let e of api.inParams) {
269
269
  const value =
270
270
  getProperty(this.models, e.pAlias) ||
271
- getProperty(this.query, e.pAlias);
271
+ getProperty(this.query, e.pAlias) ||
272
+ null;
272
273
  setProperty(params, e.pAlias, value);
273
274
  }
274
275
  if (api.needPage) {
@@ -295,7 +296,7 @@ export default {
295
296
  if (item.children) {
296
297
  initParams(item.children);
297
298
  } else {
298
- const value = getProperty(this.models, item.pAlias) || "null";
299
+ const value = getProperty(this.models, item.pAlias) || null;
299
300
  setProperty(params, item.pAlias, value);
300
301
  }
301
302
  });
@@ -166,7 +166,6 @@
166
166
  v-if="dialog.show"
167
167
  :config="formData"
168
168
  :oauthConfig="oauthConfig"
169
- :value="{ user: { name: '123' }, name: '111' }"
170
169
  :slotKeys="slotKeys"
171
170
  @change="handleDataChange"
172
171
  @button-submit="handleButtonSubmit"