From a05c04f23c64d5562a78f5599d2d9a9d9535489a Mon Sep 17 00:00:00 2001 From: lijingjia Date: Mon, 4 Nov 2024 18:25:34 +0800 Subject: [PATCH] vxetable --- src/components/HColSet/index.vue | 7 ++++++- src/components/Table/src/BasicTable.vue | 16 +++++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/components/HColSet/index.vue b/src/components/HColSet/index.vue index 4ce6a55c..4bd9bc14 100644 --- a/src/components/HColSet/index.vue +++ b/src/components/HColSet/index.vue @@ -66,8 +66,13 @@ }, // 表格唯一编码 code: { - type: String, + type: [String, Number], default: null + }, + // 表格类型(正常的vxe表格、handsontable) + type: { + type: String, + defalult: 'excel' } }) const emits = defineEmits(['updateCol']) diff --git a/src/components/Table/src/BasicTable.vue b/src/components/Table/src/BasicTable.vue index 20a0e88a..93c42e3d 100644 --- a/src/components/Table/src/BasicTable.vue +++ b/src/components/Table/src/BasicTable.vue @@ -14,10 +14,13 @@ 刷新 - - - 列设置 - + +
@@ -88,7 +91,6 @@
-