12345678910111213141516171819202122232425262728 |
- import App from './App'
- import Vue from 'vue'
- import uView from "uview-ui";
- Vue.prototype.$url = 'http://jiaocai.com/'
- Vue.prototype.$openimage = function(urls, index) {
- uni.previewImage({
- urls: urls,
- current: index
- })
- }
- Vue.use(uView);
- import './uni.promisify.adaptor'
- Vue.config.productionTip = false
- App.mpType = 'app'
- const app = new Vue({
-
- ...App
- })
- import httpInterceptor from '@/common/http.interceptor.js'
- Vue.use(httpInterceptor, app)
- app.$mount()
|