updata
This commit is contained in:
parent
42ad75d8bf
commit
2c8d447116
@ -87,6 +87,7 @@ export const constantRoutes = [
|
|||||||
title: 'H5首页',
|
title: 'H5首页',
|
||||||
component: () => import('@/views/H5/calculate/index.vue'),
|
component: () => import('@/views/H5/calculate/index.vue'),
|
||||||
hidden: true,
|
hidden: true,
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
@ -207,6 +207,8 @@ export default Vue.extend({
|
|||||||
const res = await editReachargelogAPI()
|
const res = await editReachargelogAPI()
|
||||||
if (res.status==true) {
|
if (res.status==true) {
|
||||||
this.mybalance = res.data
|
this.mybalance = res.data
|
||||||
|
}else{
|
||||||
|
this.mybalance = res.data
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async getUnreadMsgCount() {
|
async getUnreadMsgCount() {
|
||||||
|
|||||||
@ -298,8 +298,6 @@ export default {
|
|||||||
message: "验证码已发送",
|
message: "验证码已发送",
|
||||||
type: "success",
|
type: "success",
|
||||||
});
|
});
|
||||||
|
|
||||||
// 修复:安全地获取 codeid,处理不同的响应结构
|
|
||||||
let codeid = '';
|
let codeid = '';
|
||||||
|
|
||||||
// 尝试从不同的响应结构获取 codeid
|
// 尝试从不同的响应结构获取 codeid
|
||||||
@ -328,16 +326,13 @@ export default {
|
|||||||
this.startCountdown();
|
this.startCountdown();
|
||||||
} else {
|
} else {
|
||||||
this.$message({
|
this.$message({
|
||||||
message: res.message || "验证码发送失败",
|
message: res.msg,
|
||||||
type: "error",
|
type: "error",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('发送验证码失败:', error);
|
console.error('发送验证码失败:', error);
|
||||||
this.$message({
|
|
||||||
message: "验证码发送失败,请重试",
|
|
||||||
type: "error",
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user