tianheng-ui 0.1.60 → 0.1.62

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.60",
4
+ "version": "0.1.62",
5
5
  "author": "shu lang <403732931@qq.com>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -515,9 +515,9 @@ export default {
515
515
  "data.options.remoteFunc"(val) {
516
516
  this.handleFieldsApiChange(val);
517
517
  },
518
- // apiOptions() {
519
- // this.handleFieldsApiChange(this.config.fields.api, true);
520
- // }
518
+ apiOptions() {
519
+ this.handleFieldsApiChange(this.config.fields.api, true);
520
+ }
521
521
  },
522
522
  created() {
523
523
  this.activeTab = this.tabsMenus[1];
@@ -402,8 +402,7 @@ export default {
402
402
  switch (action) {
403
403
  case "list":
404
404
  for (const item of api.inParams) {
405
- params[item.pAlias] =
406
- queryParams[item.pAlias] || this.query[item.pAlias];
405
+ params[item.pAlias] = queryParams[item.pAlias] || null;
407
406
  }
408
407
  if (this.tableConfig.pageInfo.show) {
409
408
  const pageInfo = this.tableConfig.pageInfo.options;