解决运行时报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-option
|
||||
v-for="id in Object.keys(messageMap)"
|
||||
:value="id"
|
||||
:label="messageMap[id]"
|
||||
:key="id"
|
||||
v-for="key in Object.keys(messageMap)"
|
||||
:value="key"
|
||||
:label="messageMap[key]"
|
||||
:key="key"
|
||||
/>
|
||||
</el-select>
|
||||
<XButton
|
||||
|
Loading…
Reference in New Issue
Block a user