diff --git a/package.json b/package.json index 8e1a02d..b02f427 100644 --- a/package.json +++ b/package.json @@ -57,6 +57,7 @@ "@element-plus/icons-vue": "^2.3.1", "@unocss/reset": "^0.61.5", "@vueuse/core": "^10.11.0", + "axios": "^1.7.3", "dayjs": "^1.11.12", "element-plus": "^2.7.7", "sortablejs": "^1.15.2", diff --git a/packages/components/ProTable/components/ColSetting.vue b/packages/components/ProTable/components/ColSetting.vue index 2f31639..effa24f 100644 --- a/packages/components/ProTable/components/ColSetting.vue +++ b/packages/components/ProTable/components/ColSetting.vue @@ -19,7 +19,7 @@ defineExpose({ + diff --git a/packages/components/ProTable/index.vue b/packages/components/ProTable/index.vue index 6fa293c..d723282 100644 --- a/packages/components/ProTable/index.vue +++ b/packages/components/ProTable/index.vue @@ -234,7 +234,7 @@ defineExpose({ /> -
+
@@ -271,20 +271,20 @@ defineExpose({ v-if="item.type && columnTypes.includes(item.type)" v-bind="item" :align="item.align ?? 'center'" - :reserve-selection="item.type == 'selection'" + :reserve-selection="item.type === 'selection'" >