update 公共样式、加载效果、$message、api去掉不用的接口
This commit is contained in:
+3
-1
@@ -4,7 +4,7 @@ import router from './router'
|
||||
import store from './store'
|
||||
import Storage from 'vue-ls'
|
||||
|
||||
import Vant from 'vant'
|
||||
import Vant, { Toast } from 'vant'
|
||||
import 'vant/lib/index.css'
|
||||
import 'vant/lib/index.less'
|
||||
|
||||
@@ -13,10 +13,12 @@ import LangENUS from './common/lang/en-us'
|
||||
import LangZHCN from './common/lang/zh-cn'
|
||||
import { ACCESS_TOKEN, USER_INFO } from '@/store/mutation-types'
|
||||
import './permission'
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
Vue.use(Vant)
|
||||
Vue.use(VueI18n)
|
||||
Vue.prototype.$message = Toast
|
||||
|
||||
const i18n = new VueI18n({
|
||||
locale: 'zh-CN',
|
||||
|
||||
Reference in New Issue
Block a user