Commit 32add8f6 authored by 杨思琦's avatar 杨思琦

fix: 修改售后二维码

parent 2403adbe
Pipeline #75863 passed with stages
...@@ -115,9 +115,9 @@ ...@@ -115,9 +115,9 @@
"@wisdom-map/arcgismap": "1.4.0-164", "@wisdom-map/arcgismap": "1.4.0-164",
"@wisdom-map/basemap": "1.1.0-24", "@wisdom-map/basemap": "1.1.0-24",
"@wisdom-map/util": "^1.0.28-0", "@wisdom-map/util": "^1.0.28-0",
"@wisdom-utils/components": "0.1.305", "@wisdom-utils/components": "0.1.306",
"@wisdom-utils/runtime": "0.0.46", "@wisdom-utils/runtime": "0.0.46",
"@wisdom-utils/utils": "0.1.345", "@wisdom-utils/utils": "0.1.346",
"animate.css": "^4.1.1", "animate.css": "^4.1.1",
"antd": "4.21.2", "antd": "4.21.2",
"compression": "1.7.4", "compression": "1.7.4",
......
...@@ -451,6 +451,7 @@ const Layout = props => { ...@@ -451,6 +451,7 @@ const Layout = props => {
loading: menuLoading, loading: menuLoading,
// onLoadingChange: (loading) => setMenuLoading(loading) // onLoadingChange: (loading) => setMenuLoading(loading)
}} }}
hideFeedback={props.global.hideFeedback}
logo={logo} logo={logo}
topMenuActiveKey={Number(sessionStorage.getItem(currentProduct)) || 0} topMenuActiveKey={Number(sessionStorage.getItem(currentProduct)) || 0}
rightContentRender={() => <RightContent />} rightContentRender={() => <RightContent />}
......
...@@ -420,12 +420,17 @@ class Login { ...@@ -420,12 +420,17 @@ class Login {
? false ? false
: config.isCache || false; : config.isCache || false;
if (config.productType === 'civweb4') window.qiankunIsCache = false; if (config.productType === 'civweb4') window.qiankunIsCache = false;
const hideFeedback =
config.afterSales && typeof config.afterSales === 'string'
? config.afterSales.split(',').includes(`${self.globalConfig?.userInfo?.OID}`)
: false;
self.globalConfig = Object.assign(self.globalConfig, config, { self.globalConfig = Object.assign(self.globalConfig, config, {
theme: self.globalConfig.theme, theme: self.globalConfig.theme,
menu: self.globalConfig.menu, menu: self.globalConfig.menu,
style: self.globalConfig.style, style: self.globalConfig.style,
homepage: homepage || '', homepage: homepage || '',
products: self.globalConfig.products, products: self.globalConfig.products,
hideFeedback,
// mapsettings: config.mapsettings // mapsettings: config.mapsettings
}); });
self.getProjectItems().then(res => { self.getProjectItems().then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment