From 29edca07e8407388e884baff951f63ef5c77d78a Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Thu, 31 Jul 2025 17:19:23 +0800 Subject: [PATCH] no message --- root/home/components/AiApply.vue | 9 ++++++++- root/home/quickApplication.vue | 10 +++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/root/home/components/AiApply.vue b/root/home/components/AiApply.vue index eb78fc3..384878e 100644 --- a/root/home/components/AiApply.vue +++ b/root/home/components/AiApply.vue @@ -145,7 +145,14 @@ export default { uni.getClipboardData({ success(res) { console.log(res) - that.aitext = res.data + if(res.data){ + that.aitext = res.data + }else{ + uni.showToast({ + title: '请先复制内容', + icon: 'none', + }) + } }, fail() { uni.showToast({ diff --git a/root/home/quickApplication.vue b/root/home/quickApplication.vue index 40fffbe..b435c81 100644 --- a/root/home/quickApplication.vue +++ b/root/home/quickApplication.vue @@ -3,7 +3,7 @@ - 老乡信息 + 工友信息 @@ -63,7 +63,7 @@ - 添加老乡 + 添加工友 职位信息 @@ -489,10 +489,10 @@ let that = this, params = {}, info = null; - // 如果第一个老乡信息没有编辑, 则进行提示 + // 如果第一个工友信息没有编辑, 则进行提示 // if (!that.persenInfo[0].userName && $item === "") { // uni.showToast({ - // title: "请先编辑第一个老乡信息", + // title: "请先编辑第一个工友信息", // icon: "none", // }); // return; @@ -544,7 +544,7 @@ if (that.persenInfo.length == 0) { uni.showToast({ icon: "none", - title: "请输入老乡信息", + title: "请输入工友信息", }); return false; }