|
@@ -116,7 +116,11 @@ const actions = {
|
|
|
tenantConfig = tenantConfig ? JSON.parse(tenantConfig) : {}
|
|
|
if(tenantConfig.tenantStatus != 'on') {
|
|
|
await tenantQueryPage(tenantId)
|
|
|
+ // 会重置数据
|
|
|
+ tenantConfig = sessionStorage.getItem('tenantConfig')
|
|
|
+ tenantConfig = tenantConfig ? JSON.parse(tenantConfig) : {}
|
|
|
}
|
|
|
+ console.log(tenantConfig)
|
|
|
if(tenantId > 0) { // 判断是机构才会根据主题去设置
|
|
|
const themeColor = tenantConfig.themeColor
|
|
|
const theme = tenantConfig.theme
|