From 87a56274d598af9842b593ec972f517161f60707 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期日, 19 一月 2025 18:44:27 +0800
Subject: [PATCH] 1.v6-屏蔽微信登录

---
 pages/home/supplier-home.vue |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/pages/home/supplier-home.vue b/pages/home/supplier-home.vue
index 5100846..ee231b9 100644
--- a/pages/home/supplier-home.vue
+++ b/pages/home/supplier-home.vue
@@ -360,10 +360,20 @@
 		uni.stopPullDownRefresh()
 	},
 	onLoad(options) {
+
 		const url = options.q ? decodeURIComponent(options.q) : '';
 		const urlcode = options.url && decodeURIComponent(options.url) || ''
 	},
-	onShow() {
+	async onShow() {
+	
+		if(this.selftype==='supplier'){
+			// 刷新供应商菜单
+			await this.$store.dispatch('getAppMenuSupplier')
+		}else if(this.selftype==='partner'){
+			// 刷新合伙人菜单
+			await this.$store.dispatch('getAppMenuPartner')
+		}
+		
 		this.getTj(true)
 	},
 	created() {

--
Gitblit v1.9.3