JavaScript/vue.js/getCurrentInstance:修订间差异
来自康健生活
| 第112行: | 第112行: | ||
const app = createApp(App) | const app = createApp(App) | ||
store.commit('appMounted', app ) | store.commit('appMounted', app ) | ||
// useage: store.state.appMounted | |||
export default app.mount('#app') | export default app.mount('#app') | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||