fix: update main.ts

This commit is contained in:
qiang 2022-10-19 20:55:32 +08:00
parent 91abeb4c23
commit 8ff5308a56

View File

@ -3,5 +3,5 @@ import App from './App.vue'
Vue.config.productionTip = false
const app = new (typeof App === 'object' ? Vue.extend(Object.assign({ mpType: 'app' }, App)) : App)
const app = new (typeof App === 'function' ? App : Vue.extend(Object.assign({ mpType: 'app' }, App)))
app.$mount();