Commit 6d2e1461 authored by Mac's avatar Mac

修改判断

parent c0fb6b46
......@@ -334,7 +334,7 @@
</view>
</view>
<view v-if='detailsData && detailsData.EnrollList.length==0'>
<view v-if='detailsData '>
<view class="btn_bm" v-if="detailsData.State==1" @click="gosignUp">立即报名</view>
<view class="btn_bm" style="background: #CCCCCC;" v-if="detailsData.State==2">报名已截止</view>
......
......@@ -95,9 +95,12 @@
},
fail(err){
console.log(err)
uni.navigateTo({
url:'/pages/webbox/webbox2?u=https://edu.kookaku.com/#/koreaUpload&data='+encodeURIComponent(JSON.stringify(that.CompData))+'&index='+that.index
})
if(err.errMsg != 'chooseMessageFile:fail cancel'){
uni.navigateTo({
url:'/pages/webbox/webbox2?u=https://edu.kookaku.com/#/koreaUpload&data='+encodeURIComponent(JSON.stringify(that.CompData))+'&index='+that.index
})
}
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment