修改三维编辑器v-for key警告
This commit is contained in:
parent
528af2fea6
commit
861065e159
@ -16,7 +16,7 @@
|
||||
</el-tab-pane>
|
||||
|
||||
<el-tab-pane label="课程三维资源列表" name="assetlist" >
|
||||
<div class="progressdiv" v-for="(elementtrigger,indextrigger) in triggerList">
|
||||
<div class="progressdiv" v-for="(elementtrigger,indextrigger) in triggerList" :key="elementtrigger.label">
|
||||
<div class="changeprogressdiv" @click="selectModel(elementtrigger)">{{elementtrigger.label}}</div>
|
||||
<div class="delprogressdiv" v-if="(elementtrigger.showType == 'loadModel')" @click="deleteModel(elementtrigger)" >X</div>
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
<el-form-item label="三维场景设置:">
|
||||
<el-select v-model="lessonData.lessonData.lessonProgress[lessonEditIndex].progressScene" placeholder="请选择场景">
|
||||
<el-option v-for="sceneItem in sceneDataList" :label="sceneItem.label" :value="sceneItem.value"></el-option>
|
||||
<el-option v-for="sceneItem in sceneDataList" :label="sceneItem.label" :value="sceneItem.value" :key="sceneItem.value"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
<el-form-item label="场景角色设置:">
|
||||
|
||||
<el-select v-model="lessonData.lessonData.lessonProgress[lessonEditIndex].roleName" :disabled="!lessonData.lessonData.lessonProgress[lessonEditIndex].roleUse" placeholder="请选择步骤归属角色">
|
||||
<el-option v-for="jobItem in jobDataList" :label="jobItem.name" :value="jobItem.value"></el-option>
|
||||
<el-option v-for="jobItem in jobDataList" :label="jobItem.name" :value="jobItem.value" :key="jobItem.value"></el-option>
|
||||
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
@ -109,7 +109,8 @@
|
||||
<el-option
|
||||
v-for="(item,index) in triggerList"
|
||||
:label="item.label"
|
||||
:value="item.label">
|
||||
:value="item.label"
|
||||
:key="item.label">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
@ -160,7 +161,7 @@
|
||||
|
||||
<el-form-item label="发起联控角色:" v-if="selected.explainRole" >
|
||||
<el-select v-model="selected.explainRole" placeholder="请选择步骤归属角色">
|
||||
<el-option v-for="jobItem in jobDataList" :label="jobItem.name" :value="jobItem.value"></el-option>
|
||||
<el-option v-for="jobItem in jobDataList" :label="jobItem.name" :value="jobItem.value" :key="jobItem.value"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user