fix: update main.ts

This commit is contained in:
qiang
2022-10-19 20:55:32 +08:00
parent ad9239217b
commit 2b4813912a

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();