feat:使用向导完善

This commit is contained in:
zhangyu
2021-05-12 16:19:43 +08:00
parent bb781b73e5
commit d8c07bca23
14 changed files with 274 additions and 95 deletions

View File

@@ -162,11 +162,17 @@ export default {
}
},
mounted () {
// 是否弹出侧滑
const add = this.$route.query.add
if (add) {
if (add === 'alertRule') {
this.add()
},
watch: {
$route: {
immediate: true,
handler () {
const add = this.$route.query.add
if (add) {
if (add === 'alertRule') {
this.add()
}
}
}
}
}