| | |
| | | import request from '@/common/request.js' |
| | | import uView from '@/uni_modules/uview-ui' |
| | | import store from './store/index.js' |
| | | import commom from './common/anti_shake.js' |
| | | Vue.use(uView) |
| | | Vue.config.productionTip = false |
| | | |
| | | Vue.prototype.$Z = request; |
| | | Vue.prototype.$noMoreClicks = commom.noMoreClicks; |
| | | App.mpType = 'app' |
| | | |
| | | const app = new Vue({ |
| | |
| | | import request from '@/common/request.js'; |
| | | Vue.prototype.$Z = request; |
| | | Vue.use(uView) |
| | | uni.$u.config.unit = 'rpx' |
| | | export function createApp() { |
| | | const app = createSSRApp(App) |
| | | return { |