gaoxiong 2 anni fa
parent
commit
9ea0bfa1dd
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/views/menu/resumption/detail.vue

+ 2 - 2
src/views/menu/resumption/detail.vue

@@ -505,7 +505,7 @@ export default {
           .then(() => {
             saveTask(data).then(res => {
               this.$toast('提交成功')
-              this.$router.to("/resumption")
+              this.$router.go(-1)
             })
           })
           .catch(() => {
@@ -514,7 +514,7 @@ export default {
       } else {
         saveTask(data).then(res => {
           this.$toast('提交成功')
-          this.$router.to("/resumption")
+          this.$router.go(-1)
         })
       }