main #37

Merged
charles merged 2 commits from main into prod 2025-11-20 16:14:02 +08:00
Showing only changes of commit c3d61c2571 - Show all commits

View File

@ -130,7 +130,7 @@ export default Vue.extend({
viewList: [], viewList: [],
navList: [], navList: [],
// data mybalance // data mybalance
// mybalance: 0, // mybalance: 0,
todoList: [ todoList: [
{ name: '待支付', count: 0 }, { name: '待支付', count: 0 },
{ name: '待续费', count: 0 }, { name: '待续费', count: 0 },
@ -144,7 +144,7 @@ export default Vue.extend({
}, },
created() { created() {
// initMybalance 使 computed mybalance // initMybalance 使 computed mybalance
// this.initMybalance(); // this.initMybalance(); //
this.getUnreadMsgCount(); this.getUnreadMsgCount();
this.fetchTodoCount(); this.fetchTodoCount();
}, },
@ -188,12 +188,12 @@ export default Vue.extend({
return this.navIcons[iconIndex]; return this.navIcons[iconIndex];
}, },
// initMybalance 使 computed mybalance // initMybalance 使 computed mybalance
// async initMybalance() { // async initMybalance() { //
// const res = await editReachargelogAPI() const res = await editReachargelogAPI()
// if (res.status) { if (res.status) {
// this.mybalance = res.data this.mybalance = res.data
// } }
// }, },
async getUnreadMsgCount() { async getUnreadMsgCount() {
try { try {
const res = await getUnreadmsgAPI(); const res = await getUnreadmsgAPI();