fix: 去除代码中部分todo标识
This commit is contained in:
@@ -220,6 +220,5 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
//todo 此处文字显示白色,暂时取消
|
|
||||||
//color: white;
|
//color: white;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -298,7 +298,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
search () {
|
search () {
|
||||||
console.log('???????', this.metaList)
|
|
||||||
if (this.metaList.length > 0) {
|
if (this.metaList.length > 0) {
|
||||||
const parser = new Parser(this.columnList)
|
const parser = new Parser(this.columnList)
|
||||||
const errorList = parser.validateMeta(this.metaList)
|
const errorList = parser.validateMeta(this.metaList)
|
||||||
@@ -391,7 +390,6 @@ export default {
|
|||||||
const vm = this
|
const vm = this
|
||||||
this.emitter.on('advanced-search', function () {
|
this.emitter.on('advanced-search', function () {
|
||||||
vm.search()
|
vm.search()
|
||||||
console.log('打印', this.metaList)
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|||||||
@@ -205,7 +205,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
setup (props) {
|
setup (props) {
|
||||||
// todo 目前在panel页面测试,后续会挪到router里
|
// router引入store会报错,故在panel里调用
|
||||||
const store = useStore()
|
const store = useStore()
|
||||||
const cancelList = store.state.panel.httpCancel
|
const cancelList = store.state.panel.httpCancel
|
||||||
|
|
||||||
|
|||||||
@@ -160,7 +160,6 @@ export default {
|
|||||||
path: '/detection/securityEvent',
|
path: '/detection/securityEvent',
|
||||||
icon: 'cn-icon cn-icon-a-SecurityEvent'
|
icon: 'cn-icon cn-icon-a-SecurityEvent'
|
||||||
},
|
},
|
||||||
// todo 暂时隐藏该tab,此为ui上新功能
|
|
||||||
// {
|
// {
|
||||||
// i18n: 'entities.regulatoryRiskEvents',
|
// i18n: 'entities.regulatoryRiskEvents',
|
||||||
// path: '/detection/securityEvent',
|
// path: '/detection/securityEvent',
|
||||||
|
|||||||
@@ -241,7 +241,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
|
||||||
// todo 查看是否重名前,需要对名称进行校验,分别是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.tagItem === this.editTagForm.tagItem && item.tagValue === this.editTagForm.tagValue)
|
return (item.tagItem === this.editTagForm.tagItem && item.tagValue === this.editTagForm.tagValue)
|
||||||
|
|||||||
Reference in New Issue
Block a user