@bsgoal/common 2.15.20 → 2.15.22

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/dist/style.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.base_tooltip_popper{max-width:20em}.bsgoal-base-form .base_form .el-form-item{margin-right:10px}.bsgoal-base-form .base_form div.el-input,.bsgoal-base-form .base_form div.el-select{width:100%}.bsgoal-base-form .base_form--visible{width:0px;height:0px;overflow:hidden}.bsgoal-base-sizes{display:inline-block}.bsgoal-base-sizes .base_sizes_input{cursor:pointer;margin-left:16px}.bsgoal-base-sizes .base_sizes_item{text-align:center;font-size:14px;padding:0 20px;color:#606266;height:34px;line-height:34px;cursor:pointer}.bsgoal-base-sizes .base_sizes_item:hover{background-color:#f5f7fa}.bsgoal-base-sizes .base_sizes_item--selected{color:var(--el-color-primary);font-weight:700}.bsgoal-base-sizes .bsgoal_micro_app .el-input__suffix{margin-right:8px!important}.bsgoal-base-table-pagination{text-align:right}.bsgoal-base-table-pagination .base_table_pagination{display:inline-block;margin-top:16px}.bsgoal-base-table-empty .base_table_empty{text-align:center}.bsgoal-base-table-empty .base_table_empty_img{padding-top:16px;line-height:initial}.bsgoal-base-table-empty .base_table_empty_text{display:inline-block}.bsgoal-base-table .base_table{padding:16px}.bsgoal-base-table .base_table_menu{margin-bottom:8px}.bsgoal-base-table .el-table__body-wrapper{overflow-y:hidden!important}.bsgoal-base-table .el-scrollbar__view{height:100%}.bsgoal-base-table .base_table--tree{margin-top:10px}.bsgoal-base-table th>div.cell{white-space:nowrap}.bsgoal-base-table .bsgoal_micro_app .el-scrollbar{padding-bottom:0!important}.bsgoal-base-table .bsgoal_micro_app th.el-table__cell{overflow:initial!important}.bsgoal-base-line .base_line{height:10px;background-color:#f0f2f5}.bsgoal-base-line .bsgoal-base-line__vertical{display:inline-block;height:100%}.bsgoal-base-line .base_line__vertical{width:10px;height:100%}.bsgoal-base-line .bsgoal-base-line__fill{position:absolute;left:0;right:0}.bsgoal-base-search-operation{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:33.5px}.bsgoal-base-search-operation .operation_fold{margin-left:12px;cursor:pointer;min-width:3em}.bsgoal-base-cascader{height:100%;width:100%}.bsgoal-base-cascader .base_cascader{width:inherit;height:inherit}.bsgoal-base-search .base_search{padding:16px 6px 8px 16px}.bsgoal-base-search .base_search .el-form-item{margin-bottom:8px;margin-right:10px}.bsgoal-base-search .base_search div.el-input,.bsgoal-base-search .base_search div.el-select{width:100%}.bsgoal-base-search .el-col{margin-bottom:0!important}.bsgoal-base-tree-fold .base_tree_fold{position:absolute;top:0;bottom:0;right:10px;margin:auto;width:14px;height:38px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:10px;background-color:var(--el-color-primary)}.bsgoal-base-tree-fold .base_tree_fold--hide{right:0px}.bsgoal-base-tree{display:inline-block}.bsgoal-base-tree .base_tree{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;min-width:14px}.bsgoal-base-tree .base_tree_main{width:221px;padding:16px;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.bsgoal-base-tree .base_tree_main::-webkit-scrollbar{width:6px;height:6px}.bsgoal-base-tree .base_tree_main::-webkit-scrollbar-thumb{border-radius:10px;background:rgba(0,0,0,.2);width:20px}.bsgoal-base-tree .base_tree_main::-webkit-scrollbar-track{background-color:#fff}.bsgoal-base-tree .base_tree_main_input{margin-bottom:10px}.bsgoal-base-tree .base_tree .el-tree-node__content>i.el-tree-node__expand-icon{padding-left:0}.bsgoal-base-tree .base_tree_node{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1}.bsgoal-base-tree .base_tree_node_label{-webkit-box-flex:1;-ms-flex:1;flex:1}.bsgoal-base-tree .base_tree_node_icon{-webkit-box-flex:0;-ms-flex:none;flex:none}.bsgoal-base-button,.bsgoal-base-button .base_button{display:inline-block}.bsgoal-base-dialog .base_dialog_header{font-weight:500;color:#303133;font-size:16px}.bsgoal-base-dialog .bsgoal-dialog__footer--conceal .el-dialog__footer{display:none}.bsgoal-base-dialog .el-dialog__footer{height:initial;line-height:initial}.bsgoal-base-dialog .el-dialog__footer .el-button{margin-left:initial}.bsgoal-base-dialog .bsgoal_base_dialog_main .el-dialog__header{padding:16px 30px;margin-right:0;background-color:#f5f7fa;height:initial!important}.bsgoal-base-dialog .bsgoal_base_dialog_main .el-dialog__header .el-dialog__headerbtn{top:0px;right:8px}.bsgoal-base-dialog .bsgoal_base_dialog_main .el-dialog__body{padding:0}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content{padding:30px}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content--form{padding:0 0 0 30px}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content--form .bsgoal-base-form .base_form{padding:initial;padding-top:16px}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content--blank{padding-top:0}.bsgoal-base-dialog .base_dialog_footer_cancel{margin-right:16px}.bsgoal-base-tabs .base_tabs--fill{position:absolute;top:8px;bottom:0;left:16px;right:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.bsgoal-base-tabs .base_tabs--fill>div.el-tabs__content{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative}.bsgoal-base-alert .el-alert,.bsgoal-base-item .base_item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bsgoal-base-item .base_item_label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;color:#606266;height:32px;line-height:32px;padding-right:12px}.bsgoal-base-tree-table .base_tree_table{display:-webkit-box;display:-ms-flexbox;display:flex}.bsgoal-base-tree-table .base_tree_table--table{overflow:hidden}.bsgoal-base-viewer{display:inline-block}.bsgoal-base-viewer .base_viewer{margin:4px 8px}
1
+ @charset "UTF-8";.base_tooltip_popper{max-width:20em}.bsgoal-base-form .base_form .el-form-item{margin-right:10px}.bsgoal-base-form .base_form div.el-input,.bsgoal-base-form .base_form div.el-select{width:100%}.bsgoal-base-form .base_form--visible{width:0px;height:0px;overflow:hidden}.bsgoal-base-sizes{display:inline-block}.bsgoal-base-sizes .base_sizes_input{cursor:pointer;margin-left:16px}.bsgoal-base-sizes .base_sizes_item{text-align:center;font-size:14px;padding:0 20px;color:#606266;height:34px;line-height:34px;cursor:pointer}.bsgoal-base-sizes .base_sizes_item:hover{background-color:#f5f7fa}.bsgoal-base-sizes .base_sizes_item--selected{color:#409eff;font-weight:700}.bsgoal-base-sizes .bsgoal_micro_app .el-input__suffix{margin-right:8px!important}.bsgoal-base-table-pagination{text-align:right}.bsgoal-base-table-pagination .base_table_pagination{display:inline-block;margin-top:16px}.bsgoal-base-table-empty .base_table_empty{text-align:center}.bsgoal-base-table-empty .base_table_empty_img{padding-top:16px;line-height:initial}.bsgoal-base-table-empty .base_table_empty_text{display:inline-block}.bsgoal-base-table .base_table{padding:16px}.bsgoal-base-table .base_table_menu{margin-bottom:8px}.bsgoal-base-table .el-table__body-wrapper{overflow-y:hidden!important}.bsgoal-base-table .el-scrollbar__view{height:100%}.bsgoal-base-table .base_table--tree{margin-top:10px}.bsgoal-base-table th>div.cell{white-space:nowrap}.bsgoal-base-table .bsgoal_micro_app .el-scrollbar{padding-bottom:0!important}.bsgoal-base-table .bsgoal_micro_app th.el-table__cell{overflow:initial!important}.bsgoal-base-line .base_line{height:10px;background-color:#f0f2f5}.bsgoal-base-line .bsgoal-base-line__vertical{display:inline-block;height:100%}.bsgoal-base-line .base_line__vertical{width:10px;height:100%}.bsgoal-base-line .bsgoal-base-line__fill{position:absolute;left:0;right:0}.bsgoal-base-search-operation{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:33.5px}.bsgoal-base-search-operation .operation_fold{margin-left:12px;cursor:pointer;min-width:3em}.bsgoal-base-cascader{height:100%;width:100%}.bsgoal-base-cascader .base_cascader{width:inherit;height:inherit}.bsgoal-base-search .base_search{padding:16px 6px 8px 16px}.bsgoal-base-search .base_search .el-form-item{margin-bottom:8px;margin-right:10px}.bsgoal-base-search .base_search div.el-input,.bsgoal-base-search .base_search div.el-select{width:100%}.bsgoal-base-search .el-col{margin-bottom:0!important}.bsgoal-base-tree-fold .base_tree_fold{position:absolute;top:0;bottom:0;right:10px;margin:auto;width:14px;height:38px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:10px;background-color:var(--el-color-primary)}.bsgoal-base-tree-fold .base_tree_fold--hide{right:0px}.bsgoal-base-tree{display:inline-block}.bsgoal-base-tree .base_tree{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;min-width:14px}.bsgoal-base-tree .base_tree_main{width:221px;padding:16px;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.bsgoal-base-tree .base_tree_main::-webkit-scrollbar{width:6px;height:6px}.bsgoal-base-tree .base_tree_main::-webkit-scrollbar-thumb{border-radius:10px;background:rgba(0,0,0,.2);width:20px}.bsgoal-base-tree .base_tree_main::-webkit-scrollbar-track{background-color:#fff}.bsgoal-base-tree .base_tree_main_input{margin-bottom:10px}.bsgoal-base-tree .base_tree .el-tree-node__content>i.el-tree-node__expand-icon{padding-left:0}.bsgoal-base-tree .base_tree_node{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1}.bsgoal-base-tree .base_tree_node_label{-webkit-box-flex:1;-ms-flex:1;flex:1}.bsgoal-base-tree .base_tree_node_icon{-webkit-box-flex:0;-ms-flex:none;flex:none}.bsgoal-base-button,.bsgoal-base-button .base_button{display:inline-block}.bsgoal-base-dialog .base_dialog_header{font-weight:500;color:#303133;font-size:16px}.bsgoal-base-dialog .bsgoal-dialog__footer--conceal .el-dialog__footer{display:none}.bsgoal-base-dialog .el-dialog__footer{height:initial;line-height:initial}.bsgoal-base-dialog .el-dialog__footer .el-button{margin-left:initial}.bsgoal-base-dialog .bsgoal_base_dialog_main .el-dialog__header{padding:16px 30px;margin-right:0;background-color:#f5f7fa;height:initial!important}.bsgoal-base-dialog .bsgoal_base_dialog_main .el-dialog__header .el-dialog__headerbtn{top:0px;right:8px}.bsgoal-base-dialog .bsgoal_base_dialog_main .el-dialog__body{padding:0}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content{padding:30px}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content--form{padding:0 0 0 30px}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content--form .bsgoal-base-form .base_form{padding:initial;padding-top:16px}.bsgoal-base-dialog .bsgoal_base_dialog_main .base_dialog_content--blank{padding-top:0}.bsgoal-base-dialog .base_dialog_footer_cancel{margin-right:16px}.bsgoal-base-tabs .base_tabs--fill{position:absolute;top:8px;bottom:0;left:16px;right:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.bsgoal-base-tabs .base_tabs--fill>div.el-tabs__content{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative}.bsgoal-base-alert .el-alert,.bsgoal-base-item .base_item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bsgoal-base-item .base_item_label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;color:#606266;height:32px;line-height:32px;padding-right:12px}.bsgoal-base-tree-table .base_tree_table{display:-webkit-box;display:-ms-flexbox;display:flex}.bsgoal-base-tree-table .base_tree_table--table{overflow:hidden}.bsgoal-base-viewer{display:inline-block}.bsgoal-base-viewer .base_viewer{margin:4px 8px}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsgoal/common",
3
- "version": "2.15.20",
3
+ "version": "2.15.22",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -2,7 +2,7 @@
2
2
  * @Author: canlong.shen
3
3
  * @Date: 2023-05-18 16:24:31
4
4
  * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-05-23 16:58:44
5
+ * @LastEditTime: 2023-07-07 17:09:38
6
6
  * @FilePath: \common\src\components\bsgoal-base-button\demo.vue
7
7
  * @Description: 按钮 演示
8
8
  *
@@ -27,10 +27,13 @@ const task = (done) => {
27
27
  </script>
28
28
  <template>
29
29
  <div class="bsgoal-base-button-demo">
30
- <BsgoalBaseButton :task="task" mode="cancel" content="取消"> </BsgoalBaseButton>
30
+ <BsgoalBaseButton :task="task" mode="detail" > </BsgoalBaseButton>
31
+
32
+ <BsgoalBaseButton :task="task" mode="edit" plain > </BsgoalBaseButton>
33
+ <BsgoalBaseButton :task="task" mode="cancel" > </BsgoalBaseButton>
31
34
  <BsgoalBaseButton :task="task" mode="confirm" content="取消"> </BsgoalBaseButton>
32
35
 
33
- <BsgoalBaseButton :task="task" plain> </BsgoalBaseButton>
36
+ <BsgoalBaseButton :task="task" mode="add" plain content="取消"> </BsgoalBaseButton>
34
37
  <BsgoalBaseButton :task="task" mode="add"> </BsgoalBaseButton>
35
38
  <BsgoalBaseButton :task="task" mode="delete"> </BsgoalBaseButton>
36
39
  <BsgoalBaseButton :task="task" #default="{ loading }">
@@ -2,7 +2,7 @@
2
2
  * @Author: canlong.shen
3
3
  * @Date: 2023-05-18 16:24:25
4
4
  * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-05-26 15:53:36
5
+ * @LastEditTime: 2023-07-07 17:09:11
6
6
  * @FilePath: \common\src\components\bsgoal-base-button\index.vue
7
7
  * @Description: 统一按钮
8
8
  *
@@ -31,7 +31,7 @@ const props = defineProps({
31
31
  validator: (v) => ['primary', 'success', 'warning', 'danger', 'info'].includes(v)
32
32
  },
33
33
  icon: {
34
- type: [String, Object],
34
+ type: [String, Object, Boolean],
35
35
  default: ''
36
36
  },
37
37
  content: {
@@ -63,10 +63,10 @@ const props = defineProps({
63
63
  // ---> S 触发按钮 <---
64
64
  const loading = ref(false)
65
65
  const triggerClick = () => {
66
- // 默认 loading 是打开的
67
- if(props.hasLoading){
68
- loading.value = true
69
- }
66
+ // 默认 loading 是打开的
67
+ if (props.hasLoading) {
68
+ loading.value = true
69
+ }
70
70
  const { task } = props
71
71
  const taskValue = unref(task)
72
72
  taskValue(() => {
@@ -87,23 +87,28 @@ const typeGet = computed(() => {
87
87
  return ''
88
88
  case 'confirm':
89
89
  case 'add':
90
+ case 'edit':
90
91
  return 'primary'
91
92
  }
92
93
  return type
93
94
  })
94
95
  const iconGet = computed(() => {
95
96
  const { mode = '', icon = '' } = props
97
+ console.log('icon', icon)
96
98
 
97
- switch (mode) {
98
- case 'delete':
99
- return Delete
100
- case 'add':
101
- return Plus
102
- case 'cancel':
103
- return CloseBold
104
- case 'confirm':
105
- return Select
99
+ if (icon !== false) {
100
+ switch (mode) {
101
+ case 'delete':
102
+ return Delete
103
+ case 'add':
104
+ return Plus
105
+ case 'cancel':
106
+ return CloseBold
107
+ case 'confirm':
108
+ return Select
109
+ }
106
110
  }
111
+
107
112
  return icon
108
113
  })
109
114
  const contentGet = computed(() => {
@@ -116,8 +121,12 @@ const contentGet = computed(() => {
116
121
  return '确认'
117
122
  case 'add':
118
123
  return '新增'
124
+ case 'edit':
125
+ return '编辑'
119
126
  case 'delete':
120
127
  return '删除'
128
+ case 'detail':
129
+ return '详情'
121
130
  }
122
131
  return content
123
132
  })
@@ -2,7 +2,7 @@
2
2
  * @Author: canlong.shen
3
3
  * @Date: 2023-04-18 17:04:47
4
4
  * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-06-30 10:12:43
5
+ * @LastEditTime: 2023-07-07 14:19:38
6
6
  * @FilePath: \common\src\components\bsgoal-base-search-table\index.vue
7
7
  * @Description: 查询+表格 基础组件
8
8
  *
@@ -144,6 +144,13 @@ const props = defineProps({
144
144
  summaryProps: {
145
145
  type: [Array],
146
146
  default: () => []
147
+ },
148
+ /**
149
+ * 序号 列
150
+ */
151
+ serial: {
152
+ type: [Boolean],
153
+ default: false
147
154
  }
148
155
  })
149
156
 
@@ -261,6 +268,7 @@ defineExpose({
261
268
  :call="call"
262
269
  :has-page="hasPage"
263
270
  :summary-props="summaryProps"
271
+ :serial="serial"
264
272
  @select="triggerSelect"
265
273
  @select-all="triggerSelectAll"
266
274
  @selection-change="triggerSelectionChange"
@@ -2,7 +2,7 @@
2
2
  * @Author: canlong.shen
3
3
  * @Date: 2023-06-27 16:52:31
4
4
  * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-07-06 11:23:17
5
+ * @LastEditTime: 2023-06-28 14:56:45
6
6
  * @FilePath: \common\src\components\bsgoal-base-sizes\index.vue
7
7
  * @Description: 页数切换 公共组件
8
8
  *
@@ -165,7 +165,7 @@ const isMicroApp = window.__MICRO_APP_ENVIRONMENT__
165
165
  }
166
166
 
167
167
  .base_sizes_item--selected {
168
- color: var(--el-color-primary);
168
+ color: #409eff;
169
169
  font-weight: 700;
170
170
  }
171
171
 
@@ -2,7 +2,7 @@
2
2
  * @Author: canlong.shen
3
3
  * @Date: 2023-04-10 11:29:04
4
4
  * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-06-30 10:33:45
5
+ * @LastEditTime: 2023-07-07 14:25:44
6
6
  * @FilePath: \common\src\components\bsgoal-base-table\index.vue
7
7
  * @Description:
8
8
  *
@@ -147,6 +147,13 @@ const props = defineProps({
147
147
  summaryProps: {
148
148
  type: [Array],
149
149
  default: () => []
150
+ },
151
+ /**
152
+ * 序号 列
153
+ */
154
+ serial: {
155
+ type: [Boolean],
156
+ default: false
150
157
  }
151
158
  })
152
159
 
@@ -353,6 +360,9 @@ defineExpose({
353
360
  <BsgoalBaseTableEmpty />
354
361
  </template>
355
362
  <!-- / 无数据展示内容 -->
363
+ <!-- / 序号 -->
364
+ <el-table-column v-if="serial" type="index" width="55" label="序号" align="center" />
365
+ <!-- / 序号 -->
356
366
  <!-- / 多选 -->
357
367
  <el-table-column v-if="selection" fixed="left" type="selection" width="40" />
358
368
  <!-- / 多选 -->
@@ -378,6 +388,7 @@ defineExpose({
378
388
  :width="width"
379
389
  :fixed="fixed"
380
390
  :min-width="`${label.length * 14 + 30}px`"
391
+ :max-width="`${label.length * 14 + 30}px`"
381
392
  >
382
393
  <template v-slot:default="{ row }">
383
394
  <slot :name="prop" :row="row">
@@ -2,7 +2,7 @@
2
2
  * @Author: canlong.shen
3
3
  * @Date: 2023-06-20 09:20:51
4
4
  * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-06-30 08:42:21
5
+ * @LastEditTime: 2023-07-07 14:23:10
6
6
  * @FilePath: \common\src\components\bsgoal-base-tree-table\demo.vue
7
7
  * @Description: 树 + 列表 + 演示
8
8
  *
@@ -824,9 +824,8 @@ const clearSelection = () => {
824
824
  <!-- <div @click="test">点击</div> -->
825
825
  <BsgoalBaseTreeTable
826
826
  ref="BSGOAL_BASE_TREE_TABLE_REF"
827
- selection
827
+ serial
828
828
  operation
829
- showSummary
830
829
  :expandedKeys="expandedKeys"
831
830
  :tree-data="treeData"
832
831
  :page-size="40"
@@ -2,8 +2,8 @@
2
2
  * @Author: canlong.shen
3
3
  * @Date: 2023-06-20 09:20:44
4
4
  * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-07-03 16:11:22
6
- * @FilePath: \estate_web_v3\packages\common\src\components\bsgoal-base-tree-table\index.vue
5
+ * @LastEditTime: 2023-07-07 14:21:11
6
+ * @FilePath: \common\src\components\bsgoal-base-tree-table\index.vue
7
7
  * @Description: 树结构 + 列表
8
8
  *
9
9
  -->
@@ -182,6 +182,13 @@ const props = defineProps({
182
182
  summaryProps: {
183
183
  type: [Array],
184
184
  default: () => []
185
+ },
186
+ /**
187
+ * 序号 列
188
+ */
189
+ serial: {
190
+ type: [Boolean],
191
+ default: false
185
192
  }
186
193
  })
187
194