jinlin
2024-03-07 12b1901605e51506a0fde960a376eb8fc6b2a593
web/packages/components/zt-table-column-dict/src/zt-table-column-dict.vue
@@ -1,5 +1,5 @@
<template>
  <el-table-column :label="label" header-align="center" align="center" :width="width" v-slot="{ row }">
  <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"/>
  </el-table-column>
</template>
@@ -7,6 +7,9 @@
  export default {
    name: 'ZtTableColumnDict',
    props: {
      keys:{
        type:String
      },
      label: String,
      width: {
        type: String,
@@ -33,6 +36,7 @@
      return {
      }
    },
    mounted() {
    },
    methods: {