From da64ab0923bf8817fc8599a6e37b953ce38f64c8 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 27 八月 2023 18:37:36 +0800 Subject: [PATCH] 2023-08-27 --- src/views/design/header/versions/index.jsx | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/design/header/versions/index.jsx b/src/views/design/header/versions/index.jsx index 806b3ac..100b669 100644 --- a/src/views/design/header/versions/index.jsx +++ b/src/views/design/header/versions/index.jsx @@ -5,7 +5,6 @@ import moment from 'moment' import Api from '@/api' -import options from '@/store/options.js' import Utils from '@/utils/utils.js' import './index.scss' @@ -28,7 +27,7 @@ func: 's_get_sversions_sys', } - Api.getSystemConfig(_param).then(result => { + Api.getCloudConfig(_param).then(result => { if (!result.status) { notification.warning({ top: 92, @@ -39,9 +38,9 @@ } let edition_int = '' - if (options.sysType === 'SSO') { + if (window.GLOB.sysType === 'SSO') { edition_int = result.edition_int_sso - } else if (options.sysType === 'local' && window.GLOB.systemType !== 'production') { + } else if (window.GLOB.sysType === 'local' && window.GLOB.systemType !== 'production') { edition_int = result.edition_int_local } else { if (result.edition_int_sso < result.edition_int_local) { @@ -59,7 +58,7 @@ return } - let sysType = options.sysType.toLowerCase() + let sysType = window.GLOB.sysType.toLowerCase() if (window.GLOB.systemType === 'production' || sysType !== 'local') { sysType = '' -- Gitblit v1.8.0