fix: 将基础配置信息移出window
This commit is contained in:
@@ -3,5 +3,3 @@ const BASE_CONFIG = {
|
||||
version: '23.06',
|
||||
apiVersion: 'v1'
|
||||
}
|
||||
|
||||
window.BASE_CONFIG = BASE_CONFIG
|
||||
|
||||
@@ -35,9 +35,9 @@ export const api = {
|
||||
// galaxyProxy
|
||||
galaxyProxy: '/galaxy/setting',
|
||||
// 知识库
|
||||
knowledgeBase: window.BASE_CONFIG.apiVersion + '/knowledgeBase',
|
||||
knowledgeBaseList: window.BASE_CONFIG.apiVersion + '/knowledgeBase/list',
|
||||
knowledgeBaseEnable: window.BASE_CONFIG.apiVersion + '/knowledgeBase/status',
|
||||
knowledgeBase: BASE_CONFIG.apiVersion + '/knowledgeBase',
|
||||
knowledgeBaseList: BASE_CONFIG.apiVersion + '/knowledgeBase/list',
|
||||
knowledgeBaseEnable: BASE_CONFIG.apiVersion + '/knowledgeBase/status',
|
||||
|
||||
// 报告相关
|
||||
reportJob: '/report/job',
|
||||
|
||||
@@ -1157,8 +1157,8 @@ export default {
|
||||
importedType,
|
||||
revertImportedData,
|
||||
handleShowImportedData,
|
||||
baseUrl: window.BASE_CONFIG.baseUrl,
|
||||
apiVersion: window.BASE_CONFIG.apiVersion,
|
||||
baseUrl: BASE_CONFIG.baseUrl,
|
||||
apiVersion: BASE_CONFIG.apiVersion,
|
||||
fileList: ref([]),
|
||||
fileListBack: ref(),
|
||||
uploadHeaders: {
|
||||
|
||||
Reference in New Issue
Block a user