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
@@ -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) ||
|
299
|
+
const value = getProperty(this.models, item.pAlias) || null;
|
299
300
|
setProperty(params, item.pAlias, value);
|
300
301
|
}
|
301
302
|
});
|