jinlin
2024-06-06 8c834663344b1cc9c2ca569e6911900edd407f73
web/packages/components/zt-table-column-dict/src/zt-table-column-dict.vue
@@ -1,6 +1,6 @@
<template>
  <el-table-column :label="label" :key="keys" header-align="center" align="center" :width="width" v-slot="{ row }">
    <zt-dict-tag :dict="dict" :value="row[prop]" :typeS="typeS" :typeI="typeI" :typeW="typeW" :typeD="typeD" :typeColor="typeColor" :size="size" :effect="effect" :hit="hit"/>
    <zt-dict-tag :dict="dict" :additional=additional :value="row[prop]" :typeS="typeS" :typeI="typeI" :typeW="typeW" :typeD="typeD" :typeColor="typeColor" :size="size" :effect="effect" :hit="hit"/>
  </el-table-column>
</template>
<script>
@@ -10,6 +10,12 @@
      keys:{
        type:String
      },
      additional: {// 添加的
        type: Array,
        default: function () {
          return []
        }
      },
      label: String,
      width: {
        type: String,