fix: bug
This commit is contained in:
@@ -60,16 +60,7 @@
|
||||
|
||||
const toSparringDetail = (item) => {
|
||||
if (item.traId) {
|
||||
checkTraPartnerInfoById({
|
||||
traId: item.traId
|
||||
}).then(res=>{
|
||||
if(res.body.inRange){
|
||||
// todo
|
||||
common.navigateTo('/pages/sparring/detail?traId=' + item.traId + '&isPreview=1')
|
||||
}else{
|
||||
common.show(res.body.message)
|
||||
}
|
||||
})
|
||||
common.navigateTo('/pages/sparring/detail?traId=' + item.traId + '&isPreview=1')
|
||||
}
|
||||
};
|
||||
onMounted(() => {
|
||||
|
||||
Reference in New Issue
Block a user