fix:修复自定义属性无法添加第二个的问题

This commit is contained in:
albert
2022-11-08 11:06:45 +08:00
parent d1970ac14e
commit 78ab7fddcf
12 changed files with 71 additions and 65 deletions

View File

@@ -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
}
})