fix() 修改 修改规则引擎后跳转页面失败

chao
chao 2024-05-05 15:10:45 +08:00
parent cfed56f091
commit a7df48335a
3 changed files with 1 additions and 5 deletions

View File

@ -41,12 +41,10 @@ export default {
'modification': {
handler(val) {
if (val != null) {
console.log(val)
console.log(this.code)
updateEngine({id: this.modification, codeText: this.code}).then(res => {
this.$message.success('保存成功')
setTimeout(() => {
this.$router.push({path: `/rule/engineMaintenance`});
this.$router.push({path: `/rule/rule`});
}, 100)
})

View File

@ -327,7 +327,6 @@ export default {
getList() {
this.loading = true;
listEngine(this.queryParams).then(response => {
console.log(response)
this.engineList = response.data.rows;
this.engineList.forEach(item => {
if (item.type === "1") {

View File

@ -51,7 +51,6 @@ export default {
this.modification = null
this.dialogVisible = false
}, 50)
this.$router.push({path: `/rule/rule`})
},
getInfo() {
getEngine(this.$route.query.id).then(res => {