12345678910111213141516171819202122 |
- import App from './App'
- // #ifndef VUE3
- import Vue from 'vue'
- import './uni.promisify.adaptor'
- import uView from "uview-ui";
- Vue.use(uView);
- import {
- goBack
- } from './utils/common.js' //公共方法
- Object.assign(Vue.prototype, {
- '$goBack': goBack,
- })
- Vue.config.productionTip = false
- App.mpType = 'app'
- const app = new Vue({
- ...App
- })
- // uni.$u.config.unit = 'rpx'
- app.$mount()
- // #endif
|