From 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 18:09:58 +0800
Subject: [PATCH] 上报转运调试

---
 node_modules/uview-plus/components/u-cate-tab/u-cate-tab.vue |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/node_modules/uview-plus/components/u-cate-tab/u-cate-tab.vue b/node_modules/uview-plus/components/u-cate-tab/u-cate-tab.vue
index 93f1a06..8d1a9ea 100644
--- a/node_modules/uview-plus/components/u-cate-tab/u-cate-tab.vue
+++ b/node_modules/uview-plus/components/u-cate-tab/u-cate-tab.vue
@@ -83,14 +83,18 @@
 				deep: true,
 				handler(newVal, oldVal) {
 					// this.observer();
-					sleep(30);
-					this.getMenuItemTop();
-					this.leftMenuStatus(this.innerCurrent);
+					sleep(30).then(() => {
+						this.getMenuItemTop();
+						this.leftMenuStatus(this.innerCurrent);
+					})
 				}
 			},
 			current(nval) {
 				this.innerCurrent = nval;
 				this.leftMenuStatus(this.innerCurrent);
+				sleep(30).then(() => {
+					this.swichMenu(this.innerCurrent)
+				})
 			},
 			height() {
 				// console.log('height change');
@@ -120,6 +124,10 @@
 			this.innerCurrent = this.current;
 			this.leftMenuStatus(this.innerCurrent);
 			this.getMenuItemTop()
+			// 璁剧疆榛樿index
+			sleep(50).then(() => {
+				this.swichMenu(this.innerCurrent)
+			})
 		},
 		methods: {
 			addUnit,
@@ -129,7 +137,9 @@
 					if(this.arr.length == 0) {
 						await this.getMenuItemTop();
 					}
-					this.scrollIntoView = 'item' + index;
+					if (this.scrollIntoView != 'item' + index) {
+						this.scrollIntoView = 'item' + index;
+					}
 				}
 
 				if (index == this.innerCurrent) return;

--
Gitblit v1.9.3