zhangyu 4 anni fa
parent
commit
42870993b3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/components/public/selectTree.vue

+ 1 - 1
src/components/public/selectTree.vue

@@ -19,7 +19,7 @@
     {{value}}<i class="el-icon-arrow-down el-icon--right"></i>
   </span>
     <el-dropdown-menu slot="dropdown">
-      <el-dropdown-item v-for="item in options"> {{item.name}}</el-dropdown-item>
+      <el-dropdown-item v-for="item in options" :key="item.value"> {{item.name}}</el-dropdown-item>
     </el-dropdown-menu>
   </el-dropdown>
 </template>