mirror of
https://github.com/vform666/variant-form3-vite.git
synced 2024-11-10 09:39:20 +08:00
解决Vue 3版打包后无法访问已全局注册的组件的问题。
This commit is contained in:
parent
273dc7ad20
commit
45e44850e9
@ -238,7 +238,8 @@
|
|||||||
return ownPropEditorName
|
return ownPropEditorName
|
||||||
}
|
}
|
||||||
|
|
||||||
return !!this.$root.$options.components[ownPropEditorName] ? ownPropEditorName : editorName //全局注册的属性编辑器组件
|
//return !!this.$root.$options.components[ownPropEditorName] ? ownPropEditorName : editorName //Vue2全局注册的属性编辑器组件
|
||||||
|
return !!this.$root.$.appContext.components[ownPropEditorName] ? ownPropEditorName : editorName //Vue3全局注册的属性编辑器组件
|
||||||
},
|
},
|
||||||
|
|
||||||
showCollapse(propsObj) {
|
showCollapse(propsObj) {
|
||||||
|
Loading…
Reference in New Issue
Block a user