|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- import App from './App'
- import Vue from 'vue'
-
- import './uni.promisify.adaptor'
- Vue.config.productionTip = false
-
- App.mpType = 'app'
-
- import uView from "uview-ui"
- Vue.use(uView)
-
- import {
- router,
- RouterMount
- } from '@/router'
- Vue.use(router)
-
- import store from '@/store'
-
- import api from '@/api'
- Vue.prototype.$api = api.api
- Vue.prototype.$baseUrl = api.baseUrl
-
- import util from 'utils/index.js'
- Vue.prototype.$util = util
-
-
- plus.runtime.quit = () => {
-
- };
- plus.nativeUI.toast = () => {
- return false;
- };
-
-
-
- const app = new Vue({
- ...App,
- store
- })
-
-
- RouterMount(app, router, '#app')
-
-
-
- app.$mount();
-
|