fix() 如果点击规则维护页面,不让他报错
parent
a7df48335a
commit
603c935ff7
|
@ -53,6 +53,10 @@ export default {
|
|||
}, 50)
|
||||
},
|
||||
getInfo() {
|
||||
if (this.$route.query.id === undefined) {
|
||||
this.$router.push({path: this.path})
|
||||
return
|
||||
}
|
||||
getEngine(this.$route.query.id).then(res => {
|
||||
this.ruleEngineInfo = res.data
|
||||
console.log(this.ruleEngineInfo)
|
||||
|
|
Loading…
Reference in New Issue