Merge branch 'main' of https://git.opencomputing.cn/yumoqing/kboss
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 8.3 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 8.7 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 8.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 8.3 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 8.3 KiB |
@ -550,8 +550,8 @@ export default Vue.extend({
|
|||||||
}
|
}
|
||||||
|
|
||||||
.function-icon {
|
.function-icon {
|
||||||
width: 30px;
|
width: 100%;
|
||||||
height: 30px;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.function-content {
|
.function-content {
|
||||||
|
|||||||
@ -142,8 +142,8 @@ export default Vue.extend({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
// 移除 initMybalance 调用,因为现在使用 computed 的 mybalance
|
|
||||||
this.initMybalance(); // ❌ 删除这一行
|
this.initMybalance();
|
||||||
this.getUnreadMsgCount();
|
this.getUnreadMsgCount();
|
||||||
this.fetchTodoCount();
|
this.fetchTodoCount();
|
||||||
},
|
},
|
||||||
@ -186,8 +186,8 @@ export default Vue.extend({
|
|||||||
const iconIndex = index % this.navIcons.length;
|
const iconIndex = index % this.navIcons.length;
|
||||||
return this.navIcons[iconIndex];
|
return this.navIcons[iconIndex];
|
||||||
},
|
},
|
||||||
// 移除 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
|
||||||
|
|||||||