mooho-base-admin-plus 2.3.9 → 2.3.10

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": "mooho-base-admin-plus",
3
3
  "description": "MOOHO basic framework for admin by Vue3",
4
- "version": "2.3.9",
4
+ "version": "2.3.10",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -867,7 +867,7 @@
867
867
  return;
868
868
  }
869
869
 
870
- if (this.$refs['control_' + column.code]) {
870
+ if (this.$refs['control_' + column.code] && data) {
871
871
  let values = this.$refs['control_' + column.code][0].$data.values;
872
872
 
873
873
  let pendings = [];
@@ -1093,7 +1093,7 @@
1093
1093
  return;
1094
1094
  }
1095
1095
 
1096
- if (this.$refs['control_' + column.code]) {
1096
+ if (this.$refs['control_' + column.code] && data) {
1097
1097
  let values = this.$refs['control_' + column.code][0].$data.values;
1098
1098
 
1099
1099
  let pendings = [];
@@ -1651,7 +1651,7 @@
1651
1651
  return;
1652
1652
  }
1653
1653
 
1654
- if (this.$refs['control_' + column.code]) {
1654
+ if (this.$refs['control_' + column.code] && data) {
1655
1655
  let values = this.$refs['control_' + column.code][0].$data.values;
1656
1656
 
1657
1657
  let pendings = [];
@@ -2640,7 +2640,7 @@
2640
2640
  }
2641
2641
 
2642
2642
  // 取不到ref对象,无法给values赋值。所以可筛选选择框控件在table中暂时不可用
2643
- if (this.$refs['control_' + column.code + '_' + index]) {
2643
+ if (this.$refs['control_' + column.code + '_' + index] && data) {
2644
2644
  let values = this.$refs['control_' + column.code + '_' + index].$data.values;
2645
2645
 
2646
2646
  let pendings = [];