<el-select @change="orgChange" v-model="sectionNameOpt" filterable placeholder="請選擇中心名稱"> <el-option v-for="item in sectionNameOpts" :key="item.index" :label="item.orgName" :value="item.orgId"> </el-option></el-select>其中sectionNameOpts是后臺(tái)返回的數(shù)據(jù);在測試環(huán)境中可以選擇。但是到生產(chǎn)環(huán)境之后,就取不到第一個(gè)的值!請問是什么原因? 是因?yàn)閗ey的問題嗎?
el-selece標(biāo)簽的問題!選擇不到第一個(gè)選項(xiàng)
慕容3067478
2019-03-13 17:13:48