标签: javascript performance vuejs2 vue-component vue-router
是否可以通过$ option.components注册组件或为component定义新值?这样的:
beforeMount(){ this.$options.components.DialogForm = function DialogForm() { return this.getComponent; } },