From fd4d5934e89f7dee284cb78b6d4d276b2f283d7d Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期三, 15 四月 2026 10:53:30 +0800
Subject: [PATCH] 优化销售台账页面:新增产品信息的内联编辑功能,支持产品类别、规格型号、尺寸、数量、含税单价等字段的动态修改,提升用户交互体验

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

diff --git a/src/store/modules/app.js b/src/store/modules/app.js
index fc34125..71414be 100644
--- a/src/store/modules/app.js
+++ b/src/store/modules/app.js
@@ -1,6 +1,5 @@
 import Cookies from 'js-cookie'
 
-
 const useAppStore = defineStore(
   'app',
   {
@@ -16,7 +15,7 @@
     actions: {
       toggleSideBar(withoutAnimation) {
         if (this.sidebar.hide) {
-          return false;
+          return false
         }
         this.sidebar.opened = !this.sidebar.opened
         this.sidebar.withoutAnimation = withoutAnimation
@@ -26,7 +25,7 @@
           Cookies.set('sidebarStatus', 0)
         }
       },
-      closeSideBar(withoutAnimation) {
+      closeSideBar({ withoutAnimation }) {
         Cookies.set('sidebarStatus', 0)
         this.sidebar.opened = false
         this.sidebar.withoutAnimation = withoutAnimation
@@ -35,7 +34,7 @@
         this.device = device
       },
       setSize(size) {
-        this.size = size;
+        this.size = size
         Cookies.set('size', size)
       },
       toggleSideBarHide(status) {

--
Gitblit v1.9.3