3 Commits

2 changed files with 2 additions and 2 deletions
Split View
  1. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/mixins.js
  2. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AttendanceCard/single_zc.vue

+ 1
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/mixins.js View File

@@ -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:{}])
})
},



+ 1
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AttendanceCard/single_zc.vue View File

@@ -159,7 +159,7 @@
// this.NAV_BACK()
// },1200)
this.HIDE_TOAST()
this.info = res.info || ''
this.info = res?(res.info||''):''
return
}
this.TOAST('打卡成功', 'success')


Loading…
Cancel
Save