Explorar o código

修复部分bug

gaoxiong %!s(int64=2) %!d(string=hai) anos
pai
achega
9ea0bfa1dd
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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)
         })
       }