Commit 511c7a1e by 杨明

fixed

1 parent 72623d22
......@@ -20,12 +20,6 @@ Vue.prototype.size = 'small'
Vue.prototype.defaultLabelWidth = '154px'
Vue.prototype.staticImgUrl = 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/activity/'
Vue.prototype.$vip = 'https://img01.glsx.com.cn/weapp/resource/miniprogram/expandedGold/vip.png'
try {
const loginpath = JSON.parse(sessionStorage.getItem('SCRM_BASE_SESSION'))?.loginpath
if (loginpath === '/oss') Vue.prototype.loginpath = true
} catch (e) {
console.log(e)
}
start()
export { bootstrap, mount, unmount } from '@/setup'
export const http = params => Vue.prototype.$http(params)
......
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-12-13 09:23:57
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-07-19 17:32:17
* @LastEditTime: 2023-08-24 10:12:25
* @FilePath: \scrm-micro-link\src\setup\qiankun.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......@@ -24,6 +24,12 @@ export async function bootstrap({ history, common, messenger, globalState }) {
Vue.prototype.$history = history
Vue.prototype.$messenger = messenger
Vue.prototype.$globalState = globalState
try {
Vue.prototype.loginpath = globalState.loginList[0].products[0].productName.includes('运营版')
} catch (error) {
console.log(error)
}
Vue.prototype.$common = common
Vue.prototype.$message = message
Vue.prototype.$messageBox = messageBox
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!