‘liusuyi’
2024-01-13 131b6c120db336ca5c2052b877be90ee201614db
ruoyi-generator/src/main/resources/vm/vue/index.vue.vm
@@ -139,13 +139,13 @@
      </el-table-column>
#elseif($column.list && "" != $column.dictType)
      <el-table-column label="${comment}" align="center" prop="${javaField}">
        <template slot-scope="scope">
#if($column.htmlType == "checkbox")
          <dict-tag :options="dict.type.${column.dictType}" :value="scope.row.${javaField} ? scope.row.${javaField}.split(',') : []"/>
#else
          <dict-tag :options="dict.type.${column.dictType}" :value="scope.row.${javaField}"/>
#end
        </template>
##        <template slot-scope="scope">
###if($column.htmlType == "checkbox")
##          <dict-tag :options="dict.type.${column.dictType}" :value="scope.row.${javaField} ? scope.row.${javaField}.split(',') : []"/>
###else
##         <dict-tag :options="dict.type.${column.dictType}" :value="scope.row.${javaField}"/>
###end
##        </template>
      </el-table-column>
#elseif($column.list && "" != $javaField)
      <el-table-column label="${comment}" align="center" prop="${javaField}" />