页面完善
This commit is contained in:
@@ -661,7 +661,7 @@
|
||||
.then(res => {
|
||||
if (res.code == 0) {
|
||||
console.log(res, '任务信息')
|
||||
if (res.result != {}) {
|
||||
if (res.result != {} && res.result) {
|
||||
this.taskInfo = res.result
|
||||
this.taskInfo.video != '' ? this.poster = this.taskInfo.video +
|
||||
"?x-oss-process=video/snapshot,t_0,f_jpg" : ''
|
||||
@@ -735,7 +735,7 @@
|
||||
return
|
||||
}
|
||||
|
||||
if (!this.taskInfo.id) {
|
||||
if (this.taskInfo != null && !this.taskInfo.id) {
|
||||
uni.showToast({
|
||||
title: '当天未发布打卡任务,不可签到哦',
|
||||
icon: 'none'
|
||||
|
||||
Reference in New Issue
Block a user