浏览代码

更新取值问题了

lex-xin 3 年之前
父节点
当前提交
94239f0232
共有 1 个文件被更改,包括 18 次插入18 次删除
  1. 18 18
      src/views/teamBuild/components/teamBaseInfo.vue

+ 18 - 18
src/views/teamBuild/components/teamBaseInfo.vue

@@ -249,14 +249,14 @@
             clearable
           >
             <el-option
-              v-for="(item, index) in educationList"
-              :key="index"
-              :label="item.value"
-              :value="item.key"
+              v-for="(item, key) in educationList"
+              :key="key"
+              :label="item"
+              :value="key"
             >
-              <span style="float: left">{{ item.value }}</span>
+              <span style="float: left">{{ item }}</span>
               <span style="float: right; color: #8492a6; font-size: 13px">{{
-                String(item.key)
+                String(key)
               }}</span>
             </el-option>
           </el-select>
@@ -290,14 +290,14 @@
             clearable
           >
             <el-option
-              v-for="(item, index) in technician"
-              :key="index"
-              :label="item.value"
-              :value="item.key"
+              v-for="(item, key) in technician"
+              :key="key"
+              :label="item"
+              :value="key"
             >
-              <span style="float: left">{{ item.value }}</span>
+              <span style="float: left">{{ item }}</span>
               <span style="float: right; color: #8492a6; font-size: 13px">{{
-                String(item.key)
+                String(key)
               }}</span>
             </el-option>
           </el-select>
@@ -310,14 +310,14 @@
             clearable
           >
             <el-option
-              v-for="item in transactionList"
-              :key="item.key"
-              :label="item.value"
-              :value="item.key"
+              v-for="(item, key) in transactionList"
+              :key="key"
+              :label="item"
+              :value="key"
             >
-              <span style="float: left">{{ item.value }}</span>
+              <span style="float: left">{{ item }}</span>
               <span style="float: right; color: #8492a6; font-size: 13px">{{
-                String(item.key)
+                String(key)
               }}</span>
             </el-option>
           </el-select>