From 25b1262a25df82f32296afe3802836e768f2143f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 15 五月 2020 14:15:30 +0800 Subject: [PATCH] 2020-05-15 --- src/components/header/index.jsx | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/components/header/index.jsx b/src/components/header/index.jsx index 9df2315..ba68417 100644 --- a/src/components/header/index.jsx +++ b/src/components/header/index.jsx @@ -159,6 +159,9 @@ if (sessionStorage.getItem('isEditState') === 'true') { // 缂栬緫鐘舵�佹椂锛岃幏鍙栦竴绾ц彍鍗曪紝澧炲姞鍙傛暟debug _param.debug = 'Y' } + if (options.systemType !== 'cloud' && window.GLOB.systemType !== 'official') { + _param.linkurl = window.GLOB.linkurl + } let result = await Api.getSystemConfig(_param) @@ -241,7 +244,11 @@ // 鑾峰彇涓昏彍鍗曞弬鏁� let promiseMenu = new Promise(resolve => { - Api.getSystemConfig({func: 'sPC_Get_MainMenu', systemType: options.systemType}).then(result => { + let _param = {func: 'sPC_Get_MainMenu', systemType: options.systemType} + if (options.systemType !== 'cloud' && window.GLOB.systemType !== 'official') { + _param.linkurl = window.GLOB.linkurl + } + Api.getSystemConfig(_param).then(result => { let mainMenu = null if (result && result.status) { if (result.debug === 'true') { // 鏄惁涓篸ebug妯″紡锛屽嵆鍙鍒惰彍鍗曞弬鏁� -- Gitblit v1.8.0