mirror of
http://36.133.248.69:3088/admin/RentWeAppFront.git
synced 2026-03-07 17:32:25 +08:00
完成大体功能和样式
This commit is contained in:
11
main.js
11
main.js
@@ -3,6 +3,7 @@ import App from './App'
|
||||
import customNavbar from '@/components/navbar/customNavbar.vue'
|
||||
import AuthLogin from "@/components/AuthPopup/AuthLogin.vue"
|
||||
import PhoneSelect from "@/components/AuthPopup/PhoneSelect.vue"
|
||||
import { ellipsisText } from '@/common/utils/text';
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
@@ -37,7 +38,13 @@ import httpInterceptor from '@/common/http.interceptor.js';
|
||||
|
||||
Vue.use(httpInterceptor, app);
|
||||
// 封装自定义提示框
|
||||
import $mytip from 'common/utils/tip.js'
|
||||
import $mytip from '@/common/utils/tip.js'
|
||||
import config from "@/common/config.js"
|
||||
import { checkToken,getToken,getUserType } from '@/common/utils/auth.js'
|
||||
Vue.prototype.$mytip = $mytip
|
||||
|
||||
Vue.prototype.$ellipsis = ellipsisText
|
||||
Vue.prototype.$config = config
|
||||
Vue.prototype.$checkToken = checkToken
|
||||
Vue.prototype.$getToken = getToken
|
||||
Vue.prototype.$getUserType = getUserType
|
||||
app.$mount()
|
||||
|
||||
Reference in New Issue
Block a user