|
|
@@ -8,7 +8,7 @@ import uView from "@/node_modules/uview-ui";
|
|
|
|
|
|
import {parseIDCardInfo,logout,checkCompanyUserLoginState,parseText,getDictLabelName,parseIdCard,getAge,parsePhone,isEmpty,getDict,
|
|
|
isLogin,navBack,navTo,getUserInfo,formatHour,dateFormatStr,registerIdCode,updateMsgDot,handleBindCompanyFsUser,
|
|
|
-setSource,companyUserIsLogin,checkWechatInstalled,isIos,isAndroid,isAgreePrivacy,getDictLabel2Name} from './utils/common.js'
|
|
|
+setSource,companyUserIsLogin,checkWechatInstalled,isIos,isAndroid,isAgreePrivacy,getDictLabel2Name,urlToObj,loginOut} from './utils/common.js'
|
|
|
|
|
|
import { showLoginPage,getRegistrationID } from './utils/login.js'
|
|
|
import { formatSeconds,formatDate } from './utils/tools.js'
|
|
|
@@ -25,6 +25,8 @@ App.mpType = 'app'
|
|
|
// Vuex 插件注册
|
|
|
Vue.use(Vuex)
|
|
|
Vue.use(uView);
|
|
|
+Vue.prototype.$loginOut = loginOut;
|
|
|
+Vue.prototype.$urlToObj = urlToObj;
|
|
|
Vue.prototype.$getDict = getDict;
|
|
|
Vue.prototype.$getDictLabel2Name = getDictLabel2Name;
|
|
|
Vue.prototype.$checkCompanyUserLoginState = checkCompanyUserLoginState;
|