From 69f437dbb39c1dc651e673fb16de34a9d79cea23 Mon Sep 17 00:00:00 2001 From: zhangjf Date: Mon, 23 Feb 2026 12:56:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 新增页面必填项标记 - expense/Add.vue: 支出标题、支出类型、支出金额添加红色星号必填标记 - 其他使用 van-form 的页面已有 required 属性标记 2. 错误提示优化 - 将 showToast 改为 showFailToast 显示错误提示 - showFailToast 使用红色背景,错误信息更清晰可见 - 涉及文件: - expense/Add.vue - requirement/Add.vue - receivable/Add.vue - project/Add.vue - customer/Add.vue - my/ChangePassword.vue --- fund-mobile/src/views/customer/Add.vue | 6 +++--- fund-mobile/src/views/expense/Add.vue | 21 +++++++++++++-------- fund-mobile/src/views/my/ChangePassword.vue | 8 ++++---- fund-mobile/src/views/project/Add.vue | 6 +++--- fund-mobile/src/views/receivable/Add.vue | 10 +++++----- fund-mobile/src/views/requirement/Add.vue | 6 +++--- 6 files changed, 31 insertions(+), 26 deletions(-) diff --git a/fund-mobile/src/views/customer/Add.vue b/fund-mobile/src/views/customer/Add.vue index a72903b..d05407b 100644 --- a/fund-mobile/src/views/customer/Add.vue +++ b/fund-mobile/src/views/customer/Add.vue @@ -92,7 +92,7 @@