修改点发票开始之前提交版本

This commit is contained in:
魏啾
2024-08-23 10:28:50 +08:00
parent 7dcde9f91f
commit 4e5b31b2e6
12 changed files with 352 additions and 58 deletions

19
main.js
View File

@@ -10,22 +10,29 @@ Vue.config.productionTip = false
import uView from '@/uni_modules/uview-ui'
Vue.prototype.$store = store
Vue.prototype.api = Api;
// 让页面的 onLoad 在 onLaunch 之后执行
Vue.prototype.$onLaunched = new Promise(resolve => {
Vue.prototype.$isResolve = resolve
})
Vue.use(uView)
// 如此配置即可
App.mpType = 'app'
const app = new Vue({
store,
...App
...App
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
import {
createSSRApp
} from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
const app = createSSRApp(App)
return {
app
}
}
// #endif