From b9a181c2b259589e90a443fe125ebef7eddb2202 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 10 七月 2025 11:13:37 +0800
Subject: [PATCH] 页面所有增删编辑操作,回车键会导致刷新,数据内容更改失败(取消回车键的触发)

---
 src/store/modules/app.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/store/modules/app.js b/src/store/modules/app.js
index 3b26cfe..71414be 100644
--- a/src/store/modules/app.js
+++ b/src/store/modules/app.js
@@ -15,7 +15,7 @@
     actions: {
       toggleSideBar(withoutAnimation) {
         if (this.sidebar.hide) {
-          return false;
+          return false
         }
         this.sidebar.opened = !this.sidebar.opened
         this.sidebar.withoutAnimation = withoutAnimation
@@ -34,7 +34,7 @@
         this.device = device
       },
       setSize(size) {
-        this.size = size;
+        this.size = size
         Cookies.set('size', size)
       },
       toggleSideBarHide(status) {

--
Gitblit v1.9.3