From 0758179b938f71db0c211ea51d829be505761167 Mon Sep 17 00:00:00 2001 From: duanshuwen Date: Wed, 5 Nov 2025 21:10:11 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=97=AE=E9=A2=98=E5=8F=8D=E9=A6=88?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Feedback/index.vue | 15 ++------------- .../index/components/chat/ChatMainList/index.vue | 2 +- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/src/components/Feedback/index.vue b/src/components/Feedback/index.vue index 37f6c8e..08d7ce3 100644 --- a/src/components/Feedback/index.vue +++ b/src/components/Feedback/index.vue @@ -75,20 +75,12 @@ const appName = computed(() => getCurrentConfig().name); const handleCall = async () => { if (!contactPhone.value.trim()) { - uni.showToast({ - title: "请填写联系电话", - icon: "none", - duration: 2000, - }); + uni.showToast({ title: "请填写联系电话", icon: "none" }); return; } if (!contactText.value.trim()) { - uni.showToast({ - title: "请填写意见内容", - icon: "none", - duration: 2000, - }); + uni.showToast({ title: "请填写意见内容", icon: "none" }); return; } @@ -110,13 +102,11 @@ const sendFeedback = async () => { uni.showToast({ title: "反馈意见成功", icon: "success", - duration: 2000, }); } else { uni.showToast({ title: res.message || "反馈意见失败", icon: "none", - duration: 2000, }); } } catch (error) { @@ -124,7 +114,6 @@ const sendFeedback = async () => { uni.showToast({ title: "网络错误,请重试", icon: "none", - duration: 2000, }); } }; diff --git a/src/pages/index/components/chat/ChatMainList/index.vue b/src/pages/index/components/chat/ChatMainList/index.vue index d5111dd..a428a25 100644 --- a/src/pages/index/components/chat/ChatMainList/index.vue +++ b/src/pages/index/components/chat/ChatMainList/index.vue @@ -1,5 +1,5 @@