mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-06-22 09:49:28 +08:00
fix(form): select group option key 出错导致页面卡死 #67
This commit is contained in:
parent
cf3dfde648
commit
054e836859
@ -20,15 +20,10 @@
|
||||
@visible-change="visibleHandler"
|
||||
>
|
||||
<template v-if="config.group">
|
||||
<el-option-group
|
||||
v-for="(group, index) in options"
|
||||
:key="group.label + index"
|
||||
:label="group.label"
|
||||
:disabled="group.disabled"
|
||||
>
|
||||
<el-option-group v-for="(group, index) in options" :key="index" :label="group.label" :disabled="group.disabled">
|
||||
<el-option
|
||||
v-for="(item, index) in group.options"
|
||||
:key="item.label + index"
|
||||
:key="index"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
:disabled="item.disabled"
|
||||
|
Loading…
x
Reference in New Issue
Block a user