From 0f8844dcb400fcdee4ea7831336a6aff382a8cc2 Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期六, 23 九月 2023 14:59:16 +0800
Subject: [PATCH] fix: 修复搜索供应商列表结果为空时产品列表不为空的bug, 修复产品列表翻页后搜索供应商时产品列表页码未重置的bug, 修复供应商列表/产品列表/采购订单/质检单/退货单翻页后再搜索页码未重置的bug

---
 src/components/layout/components/AppMain.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/components/layout/components/AppMain.vue b/src/components/layout/components/AppMain.vue
index 7cdbb3d..4c4dbb1 100644
--- a/src/components/layout/components/AppMain.vue
+++ b/src/components/layout/components/AppMain.vue
@@ -24,16 +24,16 @@
 <!-- Add "scoped" attribute to limit CSS to this component only -->
 <style lang="scss" scoped>
 .app-main {
-  margin-left: 10px;
   box-sizing: border-box;
   display: flex;
   flex: 1;
   flex-direction: column;
-  // height: 100%;
-  width: 100%;
+  width: calc(100% - 200px);
+
   .app-main-content {
     width: 100%;
-    overflow-y: auto;
+    overflow-y: hidden;
+    height: calc(100% - 50px);
   }
 }
 </style>

--
Gitblit v1.8.0