fix: 修复文件引入错误,和引入却没有使用的问题

This commit is contained in:
刘洪洪
2023-08-07 11:04:41 +08:00
parent 74fd9ee6d4
commit 5244181cff
5 changed files with 3 additions and 7 deletions

View File

@@ -101,7 +101,6 @@ import GeneralSettings from '@/components/table/detection/GeneralSettings'
import RuleDefinition from '@/components/table/detection/RuleDefinition'
import { get } from '@/utils/http'
import { api } from '@/utils/api'
import axios from 'axios'
export default {
name: 'DetectionForm',
@@ -191,7 +190,6 @@ export default {
},
/** 创建policy */
createPolicy () {
const self = this
const settingLen = Object.keys(this.settingObj).length
const ruleLen = Object.keys(this.ruleObj).length