From 38f481107dd012e5976f251b8bb2626e2c1069a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=8A=8A=E9=87=8C?= <1227971437@qq.com>
Date: Fri, 9 Apr 2021 17:39:26 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A4=B4=E5=83=8F=E4=B8=8A=E4=BC=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/ucenter/edit/edit.nvue | 5 +++--
pages/ucenter/edit/limeClipper/index.styl | 2 ++
pages/ucenter/ucenter.vue | 7 ++++++-
3 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/pages/ucenter/edit/edit.nvue b/pages/ucenter/edit/edit.nvue
index 22046c75..2100f9d2 100644
--- a/pages/ucenter/edit/edit.nvue
+++ b/pages/ucenter/edit/edit.nvue
@@ -4,10 +4,11 @@
-
+
+
@@ -31,7 +32,7 @@
})
},
onLoad() {
- console.log(this.userInfo);
+ if(!this.userInfo)console.error('判断登录状态,如果没有登录则没有userinfo,页面报错');
},
methods: {
...mapMutations({
diff --git a/pages/ucenter/edit/limeClipper/index.styl b/pages/ucenter/edit/limeClipper/index.styl
index 8168258f..0e7be28e 100644
--- a/pages/ucenter/edit/limeClipper/index.styl
+++ b/pages/ucenter/edit/limeClipper/index.styl
@@ -132,3 +132,5 @@ $edge-border-width = 6rpx
width 60rpx
height 60rpx
+.l-clipper-tools__btns
+ flex-direction row
\ No newline at end of file
diff --git a/pages/ucenter/ucenter.vue b/pages/ucenter/ucenter.vue
index 185c9859..0100c623 100644
--- a/pages/ucenter/ucenter.vue
+++ b/pages/ucenter/ucenter.vue
@@ -113,7 +113,12 @@
checkVersion() {
checkUpdate();
},
- goLogin() {
+ goLogin() {
+ uni.navigateTo({
+ url: './edit/edit'
+ })
+
+ return;
if (!this.login) {
console.log('点击前往登录');
uni.navigateTo({
--
GitLab