解决运行时报Variable 'id' is already declared in the upper scope vue/no-template-shadow
This commit is contained in:
parent
cbc21c33b1
commit
d95de359e3
@ -11,10 +11,10 @@
|
|||||||
>
|
>
|
||||||
<el-select v-model="bindMessageId" @change="updateTaskMessage">
|
<el-select v-model="bindMessageId" @change="updateTaskMessage">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="id in Object.keys(messageMap)"
|
v-for="key in Object.keys(messageMap)"
|
||||||
:value="id"
|
:value="key"
|
||||||
:label="messageMap[id]"
|
:label="messageMap[key]"
|
||||||
:key="id"
|
:key="key"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<XButton
|
<XButton
|
||||||
|
Loading…
Reference in New Issue
Block a user