From ef9830a7e60678ea4c4b27186e2b4a3791a48902 Mon Sep 17 00:00:00 2001 From: yxq Date: Mon, 16 Dec 2024 17:43:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/mixins.js | 2 +- .../LearunApp-2.2.0/pages/AttendanceCard/single_zc.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/mixins.js b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/mixins.js index 2d23aad0a..e1e5d8074 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/mixins.js +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/mixins.js @@ -318,7 +318,7 @@ export default { async HTTP_POST_HasData(url, data, showTips) { return new Promise(async (resolve)=>{ const [err, res] = await this.requestBase(url, data, null, 'POST') - resolve([this.handleResult(err, res, showTips),res.data]) + resolve([this.handleResult(err, res, showTips),res?res.data:{}]) }) }, diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AttendanceCard/single_zc.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AttendanceCard/single_zc.vue index 2a3baeab0..51acb9878 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AttendanceCard/single_zc.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AttendanceCard/single_zc.vue @@ -159,7 +159,7 @@ // this.NAV_BACK() // },1200) this.HIDE_TOAST() - this.info = res.info || '' + this.info = res?(res.info||''):'' return } this.TOAST('打卡成功', 'success')