From facb7c8b5d3fe64bb97d0fdbc921985c7fb88732 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期四, 10 七月 2025 14:42:23 +0800 Subject: [PATCH] 输入框为数字时限制不为负数60% --- 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