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.
 
 
 
 

34 lines
611 B

import App from './App'
import Vue from 'vue'
// vuex
import store from './store'
import mixin from './common/mixin'
Vue.mixin(mixin)
import api from '@/common/request.api.js'
Vue.prototype.$api = api
Vue.config.productionTip = false
App.mpType = 'app'
import {
stringIsEmpty,
stringIsNotEmpty
} from "@/common/empty.js"
Vue.prototype.stringIsEmpty = stringIsEmpty
Vue.prototype.stringIsNotEmpty = stringIsNotEmpty
import {
shortToast,
longToast
} from "@/common/toast.js"
Vue.prototype.shortToast = shortToast
Vue.prototype.longToast = longToast
const app = new Vue({
store,
...App
})
app.$mount()