Explorar o código

优化字典数据回显样式下拉框显示值

RuoYi %!s(int64=3) %!d(string=hai) anos
pai
achega
163d6727b4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/system/dict/data.vue

+ 1 - 1
src/views/system/dict/data.vue

@@ -156,7 +156,7 @@
                   <el-option
                      v-for="item in listClassOptions"
                      :key="item.value"
-                     :label="item.label"
+                     :label="item.label + '(' + item.value + ')'"
                      :value="item.value"
                   ></el-option>
                </el-select>