update 公共样式、加载效果、$message、api去掉不用的接口

This commit is contained in:
赵霄
2023-11-30 15:18:25 +08:00
parent f00c197e0e
commit 00e6cee4a9
6 changed files with 136 additions and 217 deletions
+3 -1
View File
@@ -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',