Skip to content

Commit abe1aa8

Browse files
committed
fix: #190
1 parent d904917 commit abe1aa8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

front-end/h5/src/components/core/models/element.js

-5
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ class Element {
6161
uuid: this.uuid
6262
}
6363
Object.keys(props).forEach(key => {
64-
// #6
65-
if (key === 'name') {
66-
console.warn('Please do not use {name} as plugin prop')
67-
return
68-
}
6964
const defaultValue = props[key].default
7065
pluginProps[key] = typeof defaultValue === 'function' ? defaultValue() : defaultValue
7166
})

0 commit comments

Comments
 (0)