소스 검색

修复投产取消按钮

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);
     },
 
     /** 搜索按钮操作 */