mooho-base-admin-plus 2.10.93 → 2.10.95
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/history.md
CHANGED
|
@@ -263,4 +263,6 @@ mooho-base-admin-plus@2.10.89 - Excel表格报错
|
|
|
263
263
|
mooho-base-admin-plus@2.10.90 - 表格增加禁用静态筛选
|
|
264
264
|
mooho-base-admin-plus@2.10.91 - 修复了table-view分页时上下移动的bug
|
|
265
265
|
mooho-base-admin-plus@2.10.92 - 前端升级CK5
|
|
266
|
-
mooho-base-admin-plus@2.10.93 - 前端改为CK4,允许使用本地脚本
|
|
266
|
+
mooho-base-admin-plus@2.10.93 - 前端改为CK4,允许使用本地脚本
|
|
267
|
+
mooho-base-admin-plus@2.10.94 - 修复Excel表格初始化过程中加载数据失败的bug
|
|
268
|
+
mooho-base-admin-plus@2.10.95 - 修复Excel表格报错的bug
|
|
@@ -105532,9 +105532,7 @@ const _sfc_main$o = {
|
|
|
105532
105532
|
for (let d = c[0].startCol; d < c[0].startCol + l[0].length; d++)
|
|
105533
105533
|
for (let f = c[0].startRow; f < c[0].startRow + l.length; f++)
|
|
105534
105534
|
l[f - c[0].startRow][d - c[0].startCol] != null && (l[f - c[0].startRow][d - c[0].startCol] = l[f - c[0].startRow][d - c[0].startCol].trim(), u[d].controlType == "NumberInput" && (l[f - c[0].startRow][d - c[0].startCol] = l[f - c[0].startRow][d - c[0].startCol].replace(/,/g, "")));
|
|
105535
|
-
}), setTimeout(() => {
|
|
105536
|
-
this.loadData([]);
|
|
105537
|
-
}), this.inited = !0, setTimeout(() => {
|
|
105535
|
+
}), this.inited = !0, await this.loadData([]), setTimeout(() => {
|
|
105538
105536
|
typeof r == "function" && r();
|
|
105539
105537
|
});
|
|
105540
105538
|
}
|
|
@@ -105638,7 +105636,12 @@ const _sfc_main$o = {
|
|
|
105638
105636
|
setShowStatus() {
|
|
105639
105637
|
this.$refs.table.hotInstance.updateSettings({
|
|
105640
105638
|
cells: (a, r, o) => {
|
|
105641
|
-
let s = this.columns.find((u) => u.code == o)
|
|
105639
|
+
let s = this.columns.find((u) => u.code == o);
|
|
105640
|
+
if (s == null) {
|
|
105641
|
+
console.log("column not found!", a, r, o);
|
|
105642
|
+
return;
|
|
105643
|
+
}
|
|
105644
|
+
let l = s.isShow, c = s.isReadonly;
|
|
105642
105645
|
if (s.controlType == "Label" || this.readonly)
|
|
105643
105646
|
c = !0;
|
|
105644
105647
|
else if ((s.readonlyJson || "").trim()) {
|