From 5315d61561394dfeec72b9714c8ea857d5d67014 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Tue, 29 Jul 2025 16:13:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/style/layout.styl | 6 ++++++ pages/home/home.vue | 1 + pages/login/login.vue | 2 +- pages/login/setup.vue | 4 ++-- pages/manage/common/cxwl.vue | 7 +++---- pages/manage/wlzp.vue | 2 ++ 6 files changed, 15 insertions(+), 7 deletions(-) diff --git a/common/style/layout.styl b/common/style/layout.styl index 939e85f..d3aaa20 100644 --- a/common/style/layout.styl +++ b/common/style/layout.styl @@ -178,6 +178,12 @@ uni-button:after { border-left: 6rpx solid #ff8227; } +.slide_new table tr td.wrap{ + line-height: 28rpx; + white-space: normal; + word-break: break-all; +} + .item-wrapper { width: 100%; height: auto; diff --git a/pages/home/home.vue b/pages/home/home.vue index d884dac..708280f 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -45,6 +45,7 @@ }; }, created () { + this.$store.dispatch('setPublicObj', '') if (this.$store.getters.userInfo) { this.userName = JSON.parse(this.$store.getters.userInfo).username } diff --git a/pages/login/login.vue b/pages/login/login.vue index 4a99fa6..fa305f4 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -91,7 +91,7 @@ } else { this.$store.dispatch('delLoginName', '') } - this.$store.dispatch('saveUserInfo', JSON.stringify(res.user.user)) + this.$store.dispatch('saveUserInfo', JSON.stringify(res.data.user)) this.$store.dispatch('saveToken', res.token) uni.redirectTo({ url: '/pages/home/home' diff --git a/pages/login/setup.vue b/pages/login/setup.vue index a655086..6247a7a 100644 --- a/pages/login/setup.vue +++ b/pages/login/setup.vue @@ -7,10 +7,10 @@ LMS地址 - +