From 2aaa8c190128efa6399124a00798c3c6efa2f86e Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期五, 16 一月 2026 13:04:07 +0800
Subject: [PATCH] fix: 采购台账中涉及到价格、数量等输入框时,限制数值输入不能为负数

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

diff --git a/src/store/modules/app.js b/src/store/modules/app.js
index 456ea78..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
@@ -25,7 +25,7 @@
           Cookies.set('sidebarStatus', 0)
         }
       },
-      closeSideBar(withoutAnimation) {
+      closeSideBar({ withoutAnimation }) {
         Cookies.set('sidebarStatus', 0)
         this.sidebar.opened = false
         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