mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-31 12:06:40 +08:00
chore: use postMessage
instead of window.removeLoading
This commit is contained in:
parent
ef7022696b
commit
67cf1e7f31
@ -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' }, '*')
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user