Explorar o código

feat(schematable): support selection column

Casper Dai %!s(int64=3) %!d(string=hai) anos
pai
achega
7e48282328
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      src/components/table/Table/Column.vue

+ 7 - 0
src/components/table/Table/Column.vue

@@ -180,6 +180,13 @@ export default {
         return this.renderExpandColumn(h, props)
       case 'asset':
         return this.renderAssetColumn(h, props)
+      case 'selection':
+        return h('el-table-column', {
+          props: {
+            type,
+            width: 50
+          }
+        })
       case 'tag':
         break
       case 'invoke':