mirror of
https://github.com/vform666/variant-form3-vite.git
synced 2025-06-21 00:39:57 +08:00
解决Vue 3版打包后无法访问已全局注册的组件的问题。
This commit is contained in:
@ -238,7 +238,8 @@
|
||||
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) {
|
||||
|
Reference in New Issue
Block a user