Compare commits

...

2 Commits

Author SHA1 Message Date
hrx
668da1b96a Merge branch 'main' of https://git.opencomputing.cn/yumoqing/kboss 2025-11-20 15:23:50 +08:00
hrx
8f7f8abee8 updata 2025-11-20 15:23:28 +08:00

View File

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