Browse Source

优化未登录状态-设置

LinWuTai 19 hours ago
parent
commit
0aa01cac07
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/personalCenter/personalCenter.vue

+ 4 - 0
pages/personalCenter/personalCenter.vue

@@ -410,6 +410,10 @@
 	}
 	// 点击-设置
 	function onSheZhi() {
+		if (!isLogin.value) {
+			showMsg()
+			return
+		}
 		uni.navigateTo({
 			url: '/pages/setting/setting'
 		})