初始化

This commit is contained in:
魏啾
2024-03-21 15:54:39 +08:00
parent 67bc7bda66
commit 316e05dadd
532 changed files with 76020 additions and 1 deletions

23
main.js Normal file
View File

@@ -0,0 +1,23 @@
import Vue from 'vue'
import App from './App'
import './framework/bootstrap'
import Api from "./common/js/api.js"
import store from './store'
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
Vue.config.productionTip = false
Vue.prototype.$store = store
App.mpType = 'app'
Vue.prototype.navfatherMethod = function() {
uni.navigateBack();
}
Vue.prototype.$onLaunched = new Promise(resolve => {
Vue.prototype.$isResolve = resolve
})
Vue.prototype.api = Api;
const app = new Vue({
store,
...App,
})
app.$mount()