feat:alertMessage 上滑框 state 暂时默认给1

This commit is contained in:
zhangyu
2021-05-08 18:22:18 +08:00
parent 86c8e2211c
commit e980a7e303
12 changed files with 2 additions and 19 deletions

View File

@@ -61,7 +61,6 @@ export default {
obj: {
immediate: true,
handler (n) {
console.log(n)
if (n) {
this.getTableData()
}
@@ -294,7 +293,6 @@ export default {
delete this.searchLabel.endAt
}
this.tools.loading = true
console.log(this.obj,123123123123)
if (this.from === fromRoute.module) {
this.searchLabel.moduleIds = this.obj.id
} else if (this.from === fromRoute.endpoint) {
@@ -304,6 +302,8 @@ export default {
} else if (this.from === fromRoute.alertRule) {
this.searchLabel.ruleIds = this.obj.id
}
// state 暂时默认1
this.searchLabel.state = 1
this.$get(this.url, this.searchLabel).then(response => {
this.tools.loading = false
if (response.code === 200) {