From a5435a165019945367d8b109037545d8fe2c053c Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 28 May 2021 17:53:16 +0800
Subject: [PATCH] 用户中心样式,添加子栏目

---
 pages/workbench/workbench.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/pages/workbench/workbench.vue b/pages/workbench/workbench.vue
index 8fcfa64..b8f08bd 100644
--- a/pages/workbench/workbench.vue
+++ b/pages/workbench/workbench.vue
@@ -105,6 +105,7 @@
 						securityId: id
 					} : '',
 					that = this;
+					console.log(this.$store.state.puserID)
 				wx.request({
 					url: url,
 					data: data,
@@ -113,8 +114,10 @@
 					},
 					method: 'POST',
 					success(res) {
-						that.dataListP = res.data.data
-						// console.log(that.dataListP)
+						if (res.statusCode == 200) {
+							that.dataListP = res.data.data
+							console.log(that.dataListP)
+						}
 					}
 				})
 			},

--
Gitblit v1.9.3