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地址
-
+