fix: 修复代码里BASE_CONFIG报红线的问题
This commit is contained in:
@@ -253,7 +253,7 @@ export default {
|
|||||||
const nameAndLabelDuplicateValidator = (rule, value, callback) => {
|
const nameAndLabelDuplicateValidator = (rule, value, callback) => {
|
||||||
let validate = true
|
let validate = true
|
||||||
let index = -1 // 当前编辑的键值index
|
let index = -1 // 当前编辑的键值index
|
||||||
//查看是否重名前,需要对名称进行校验,分别是IP、domain、APP的校验
|
// 查看是否重名前,需要对名称进行校验,分别是IP、domain、APP的校验
|
||||||
const findData = this.importedData.find((item, i) => {
|
const findData = this.importedData.find((item, i) => {
|
||||||
index = i
|
index = i
|
||||||
return (item.tagName === this.editTagForm.tagName && item.tagValue === this.editTagForm.tagValue)
|
return (item.tagName === this.editTagForm.tagName && item.tagValue === this.editTagForm.tagValue)
|
||||||
@@ -1157,8 +1157,8 @@ export default {
|
|||||||
importedType,
|
importedType,
|
||||||
revertImportedData,
|
revertImportedData,
|
||||||
handleShowImportedData,
|
handleShowImportedData,
|
||||||
baseUrl: BASE_CONFIG.baseUrl,
|
baseUrl: window.BASE_CONFIG.baseUrl,
|
||||||
apiVersion: BASE_CONFIG.apiVersion,
|
apiVersion: window.BASE_CONFIG.apiVersion,
|
||||||
fileList: ref([]),
|
fileList: ref([]),
|
||||||
fileListBack: ref(),
|
fileListBack: ref(),
|
||||||
uploadHeaders: {
|
uploadHeaders: {
|
||||||
|
|||||||
Reference in New Issue
Block a user