瀏覽代碼

Merge branch 'NanMing1' of sckj/mz-cloud into master

NanMing 2 年之前
父節點
當前提交
28753b49f2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruoyi-ui/src/components/DictTag/index.vue

+ 1 - 1
ruoyi-ui/src/components/DictTag/index.vue

@@ -3,7 +3,7 @@
     <template v-for="(item, index) in options">
       <template v-if="values.includes(item.value)">
         <span v-if="item.raw.listClass == 'default' || item.raw.listClass == ''" :key="item.value" :index="index"
-          :class="item.raw.cssClass">{{ item.label }}<span v-if="index < value.length - 1">,</span></span>
+          :class="item.raw.cssClass">{{ item.label }}<span v-if="index < values.length - 1">,</span></span>
 
         <el-tag v-else :disable-transitions="true" :key="item.value+1" :index="index"
           :type="item.raw.listClass == 'primary' ? '' : item.raw.listClass" :class="item.raw.cssClass">