You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import Vue from 'vue'
|
|
|
|
import App from './App'
|
|
|
|
import store from './store' // store
|
|
|
|
import plugins from './plugins' // plugins
|
|
|
|
import './permission' // permission
|
|
|
|
import DictTag from './components/DictTag/index'
|
|
|
|
|
|
|
|
import uView from '@/uni_modules/uview-ui'
|
|
|
|
|
|
|
|
import request from '@/utils/requestA.js'
|
|
|
|
|
|
|
|
import {DICT_TYPE, getDictDataLabel, getDictDatas, getDictDatas2} from "@/utils/dict";
|
|
|
|
import HttpRequest from './utils/request'
|
|
|
|
import HttpConfig from './utils/config'
|
|
|
|
Vue.use(plugins)
|
|
|
|
Vue.use(uView)
|
|
|
|
|
|
|
|
Vue.component('DictTag', DictTag)
|
|
|
|
Vue.prototype.$config = HttpConfig
|
|
|
|
Vue.prototype.$Request = HttpRequest
|
|
|
|
Vue.prototype.getDictDatas = getDictDatas
|
|
|
|
Vue.prototype.getDictDatas2 = getDictDatas2
|
|
|
|
Vue.prototype.getDictDataLabel = getDictDataLabel
|
|
|
|
Vue.prototype.DICT_TYPE = DICT_TYPE
|
|
|
|
Vue.config.productionTip = false
|
|
|
|
Vue.prototype.$store = store
|
|
|
|
|
|
|
|
Vue.prototype.$request = request
|
|
|
|
|
|
|
|
|
|
|
|
App.mpType = 'app'
|
|
|
|
|
|
|
|
const app = new Vue({
|
|
|
|
...App
|
|
|
|
})
|
|
|
|
|
|
|
|
app.$mount()
|