mirror of
https://github.com/Ssl1S/json-schema-editor-vue.git
synced 2025-12-30 01:37:55 +08:00
fix:修复自定义属性无法添加第二个的问题
This commit is contained in:
@@ -352,7 +352,7 @@ export default {
|
||||
const p = prop || this.addProp
|
||||
let existKey = false
|
||||
this.customProps.forEach(item => {
|
||||
if (item.key === prop.key) {
|
||||
if (item.key === p.key) {
|
||||
existKey = true
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user