mooho-base-admin-plus 2.10.59 → 2.10.60
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
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
import mixinPage from '../../mixins/page';
|
|
38
38
|
import mixin from './mixin';
|
|
39
39
|
import tableSetting from './table-setting.vue';
|
|
40
|
-
import { readonly } from 'vue';
|
|
41
40
|
|
|
42
41
|
// register Handsontable's modules
|
|
43
42
|
registerAllModules();
|
|
@@ -56,7 +55,6 @@
|
|
|
56
55
|
hotSetting: {
|
|
57
56
|
themeName: 'ht-theme-main',
|
|
58
57
|
colHeaders: true,
|
|
59
|
-
rowHeaders: true,
|
|
60
58
|
height: 'auto',
|
|
61
59
|
// columns: [],
|
|
62
60
|
autoWrapCol: true,
|
|
@@ -213,6 +211,9 @@
|
|
|
213
211
|
this.tableView = view.dataView;
|
|
214
212
|
this.tableView.columns = view.viewColumns;
|
|
215
213
|
|
|
214
|
+
// 序号
|
|
215
|
+
this.hotSetting.rowHeaders = this.tableView.snEnable;
|
|
216
|
+
|
|
216
217
|
// 文本必填
|
|
217
218
|
Handsontable.validators.registerValidator('text-required', (value, callback) => {
|
|
218
219
|
if (!(value || '').trim()) {
|