From 825220cd86bd1b5b8e8baec37a939f32cbbc65b0 Mon Sep 17 00:00:00 2001 From: zhouyanli <593579392@qq.com> Date: Mon, 31 Aug 2026 09:07:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E4=B9=8B=E5=89=8D=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wuye-manager-uniapp/manifest.json | 4 ++-- wuye-manager-uniapp/pages/index/index.vue | 16 +++++++++------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/wuye-manager-uniapp/manifest.json b/wuye-manager-uniapp/manifest.json index b77c614..34ccb87 100644 --- a/wuye-manager-uniapp/manifest.json +++ b/wuye-manager-uniapp/manifest.json @@ -2,8 +2,8 @@ "name" : "花开管家", "appid" : "__UNI__5F224F3", "description" : "智慧社区管家端,专为小区物业管理人员打造,支持多小区灵活切换管理。集成账号密码、手机号密码双重登录模式,内置忘记密码找回功能,保障账号安全。涵盖消息通知、日常巡检、故障报修、一键开门、工单流转、投诉处理等核心办公功能,物业人员可在线完成巡检打卡、问题上报、工单派发跟进、投诉对接处理等日常工作,同时支持查看个人上报记录、巡检历史,便捷修改账号信息与登录密码。高效简化社区物业办公流程,提升小区服务与管理效率,打造便捷智能的社区管理服务平台。", - "versionName" : "1.1.4", - "versionCode" : 114, + "versionName" : "1.1.5", + "versionCode" : 115, "transformPx" : false, "app-plus" : { "usingComponents" : true, diff --git a/wuye-manager-uniapp/pages/index/index.vue b/wuye-manager-uniapp/pages/index/index.vue index 95b46dc..5911b66 100644 --- a/wuye-manager-uniapp/pages/index/index.vue +++ b/wuye-manager-uniapp/pages/index/index.vue @@ -351,13 +351,15 @@ const getInspectionData = () => { const getNoticeData = () => { getNewNoticeData() .then(res => { - const notice = - res.code === 200 && res.data - ? [res.data.notice, res.data.item].filter(Boolean).join(' : ') || '暂无公告' - : '暂无公告' - // 仅在内容真正变化时才更新 - if (noticeText.value !== notice) { - noticeText.value = notice + if (res.code === 200 && res.data) { + const data = res.data + const notice = [data.notice, data.item].filter(Boolean).join(' : ') || '暂无公告' + // 仅在内容真正变化时才更新 + if (noticeText.value !== notice) { + noticeText.value = notice + } + } else { + noticeText.value = '暂无公告' } }) .catch(() => {})