From b6620dd4ad9254d422c26491991fa7efbd0dc605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E9=B9=8F?= Date: Fri, 13 Sep 2024 13:37:57 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E9=A6=96=E9=A1=B5=E5=88=86=E7=BB=84?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E4=BF=AE=E6=94=B9=E8=8B=B1=E6=96=87=E6=98=B5?= =?UTF-8?q?=E7=A7=B0=E8=BF=87=E9=95=BF=E6=97=B6=E7=9A=84=E6=98=BE=E7=A4=BA?= =?UTF-8?q?bug=202.=20=E6=9B=B4=E6=96=B0=E5=AE=89=E5=85=A8=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E6=B7=BB=E5=8A=A0=E6=9C=AA=E8=8E=B7=E5=8F=96=E5=88=B0?= =?UTF-8?q?=E5=AE=89=E5=85=A8=E9=97=AE=E9=A2=98=E7=9A=84=E5=BC=95=E5=AF=BC?= =?UTF-8?q?=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/home.vue | 1 + pages/updateSafeQuestion/updateSafeQuestion.vue | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/pages/home/home.vue b/pages/home/home.vue index 3900ae7..c5eef4d 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -605,6 +605,7 @@ page { .group-name-text { padding: 0 32rpx; + word-break: break-all; } .group-name-line { diff --git a/pages/updateSafeQuestion/updateSafeQuestion.vue b/pages/updateSafeQuestion/updateSafeQuestion.vue index 598b6f1..c4fb2a0 100644 --- a/pages/updateSafeQuestion/updateSafeQuestion.vue +++ b/pages/updateSafeQuestion/updateSafeQuestion.vue @@ -151,6 +151,18 @@ export default { this.show = true }, async getQuestionList() { + const netWork = await this.getNetworkType() + if(!netWork) { + uni.showModal({ + title: '提示', + content: '未获取到问题列表,请退出重试', + showCancel: false, + success: () => { + uni.navigateBack() + } + }) + return + } const { code, data, message } = await getQuestionListRequest() if(code === 0) { this.questionList = data