fix: 去除代码中部分todo标识

This commit is contained in:
刘洪洪
2023-05-29 10:20:39 +08:00
parent c41a247449
commit 8ea82d0e34
5 changed files with 2 additions and 6 deletions

View File

@@ -220,6 +220,5 @@
justify-content: center;
align-items: center;
padding: 0 4px;
//todo 此处文字显示白色,暂时取消
//color: white;
}

View File

@@ -298,7 +298,6 @@ export default {
}
},
search () {
console.log('???????', this.metaList)
if (this.metaList.length > 0) {
const parser = new Parser(this.columnList)
const errorList = parser.validateMeta(this.metaList)
@@ -391,7 +390,6 @@ export default {
const vm = this
this.emitter.on('advanced-search', function () {
vm.search()
console.log('打印', this.metaList)
})
},
watch: {

View File

@@ -205,7 +205,7 @@ export default {
}
},
setup (props) {
// todo 目前在panel页面测试后续会挪到router里
// router引入store会报错故在panel里调用
const store = useStore()
const cancelList = store.state.panel.httpCancel

View File

@@ -160,7 +160,6 @@ export default {
path: '/detection/securityEvent',
icon: 'cn-icon cn-icon-a-SecurityEvent'
},
// todo 暂时隐藏该tab此为ui上新功能
// {
// i18n: 'entities.regulatoryRiskEvents',
// path: '/detection/securityEvent',

View File

@@ -241,7 +241,7 @@ export default {
const nameAndLabelDuplicateValidator = (rule, value, callback) => {
let validate = true
let index = -1 // 当前编辑的键值index
// todo 查看是否重名前需要对名称进行校验分别是IP、domain、APP的校验
// 查看是否重名前需要对名称进行校验分别是IP、domain、APP的校验
const findData = this.importedData.find((item, i) => {
index = i
return (item.tagItem === this.editTagForm.tagItem && item.tagValue === this.editTagForm.tagValue)