提交报错

This commit is contained in:
duan
2025-01-14 18:08:25 +08:00
6 changed files with 165 additions and 35 deletions

View File

@@ -1,6 +1,7 @@
<template>
<view class="container">
<up-navbar title="申请提现"
:autoBack="true"
bgColor="rgb(255, 117, 129)"
leftIconColor="#FFF"
:titleStyle ="{color:'#FFF'}" >
@@ -10,7 +11,7 @@
</view>
</template>
</up-navbar>
<view class="content">
<view class="title">可提现总额</view>
<view class="mayMoney">¥ {{ data.mayMoney }}</view>

View File

@@ -83,6 +83,7 @@
} from '@/api/me/withdraw.js';
import {
reactive,
ref,
getCurrentInstance,
nextTick,
ref
@@ -269,7 +270,6 @@
let res = await state({
extraKey: datas.urlCallback.extra
})
getCanCash()
} else {
// 播放中途退出
}

View File

@@ -80,13 +80,16 @@
console.log(drawRes);
const nobuyCourseId = uni.getStorageSync('nobuyCourseId')
const item = state.list.find(v => v.courseId == nobuyCourseId)
uni.clearStorageSync('nobuyCourseId')
if (drawRes.count * 1 > 0 && nobuyCourseId !== null && nobuyCourseId !== undefined && item
.videoUrl) {
uni.navigateTo({
url: '/pages/me/prizeDraw'
})
uni.removeStorageSync('nobuyCourseId')
if(item){
if (drawRes.count * 1 > 0 && nobuyCourseId !== null && nobuyCourseId !== undefined && item
.videoUrl) {
uni.navigateTo({
url: '/pages/me/prizeDraw'
})
}
}
}
})
</script>