sr 4 năm trước cách đây
mục cha
commit
80cec7c9fa
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      ruoyi-ui/src/views/management/roduction/index.vue

+ 2 - 0
ruoyi-ui/src/views/management/roduction/index.vue

@@ -324,10 +324,12 @@ export default {
           if (this.form.id != null) {
             updateProduct(this.form).then((response) => {
               this.msgSuccess("暂存成功");
+              this.$router.go(-1)
             });
           } else {
             addProduct(this.form).then((response) => {
               this.msgSuccess("暂存成功");
+              this.$router.go(-1)
             });
           }
         }