feat: 问题反馈问题修复
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="flex flex-col h-screen" @touchend="handleTouchEnd">
|
||||
<view class="flex flex-col h-screen">
|
||||
<!-- 顶部自定义导航栏 -->
|
||||
<view class="header" :style="{ paddingTop: statusBarHeight + 'px' }">
|
||||
<ChatTopNavBar
|
||||
|
||||
Reference in New Issue
Block a user