Compare commits

..

No commits in common. "668da1b96adfe27c62708c19006672f99a7c7ac4" and "3fa768f35a6c85aaa0268b7f3a7ae471f713731e" have entirely different histories.

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();