chore: use postMessage instead of window.removeLoading

This commit is contained in:
草鞋没号 2022-06-29 08:36:58 +08:00
parent ef7022696b
commit 67cf1e7f31

View File

@ -1,7 +1,9 @@
import { createApp } from 'vue'
import App from './App.vue'
import './samples/node-api'
// import './samples/node-api'
createApp(App)
.mount('#app')
.$nextTick(window.removeLoading)
.$nextTick(() => {
postMessage({ payload: 'removeLoading' }, '*')
})