浏览代码

修复投产取消按钮

zhl 4 年之前
父节点
当前提交
79d11cdd7d
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      ruoyi-ui/src/views/management/roduction/index.vue

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

@@ -367,8 +367,7 @@ export default {
 
     // 取消按钮
     cancel() {
-      this.open = false;
-      this.reset();
+      this.$router.go(-1);
     },
 
     /** 搜索按钮操作 */