问题 I have a mobile webview that is injected with some global config object: Vue.prototype.$configServer = { MODE: "DEBUG", isMobile: false, injected: false, version: -1, title:"App", user: null, host: "http://127.0.0.1:8080" } Later the WebView inject this: Vue.prototype.$configServer = { MODE: "DEBUG", title: "App", version: "2.0", isMobile: true, injected: true, host: "http://127.0.0.1:8081" } And try to use it for the component: const HomePage = { key: 'HomePage', template: '#HomePage',