diff --git a/src/views/setting/KnowledgeBaseForm.vue b/src/views/setting/KnowledgeBaseForm.vue index 5b52ebcc..2ce30db7 100644 --- a/src/views/setting/KnowledgeBaseForm.vue +++ b/src/views/setting/KnowledgeBaseForm.vue @@ -253,7 +253,7 @@ export default { const nameAndLabelDuplicateValidator = (rule, value, callback) => { let validate = true let index = -1 // 当前编辑的键值index - //查看是否重名前,需要对名称进行校验,分别是IP、domain、APP的校验 + // 查看是否重名前,需要对名称进行校验,分别是IP、domain、APP的校验 const findData = this.importedData.find((item, i) => { index = i return (item.tagName === this.editTagForm.tagName && item.tagValue === this.editTagForm.tagValue) @@ -1157,8 +1157,8 @@ export default { importedType, revertImportedData, handleShowImportedData, - baseUrl: BASE_CONFIG.baseUrl, - apiVersion: BASE_CONFIG.apiVersion, + baseUrl: window.BASE_CONFIG.baseUrl, + apiVersion: window.BASE_CONFIG.apiVersion, fileList: ref([]), fileListBack: ref(), uploadHeaders: {