updata
@ -100,7 +100,7 @@ Vue.use(HappyScroll)
|
||||
// });
|
||||
|
||||
// // 禁止F12和开发者工具快捷键
|
||||
// document.addEventListener('keydown', function(e) {
|
||||
// document.addEventListener('keydown', function(e ) {
|
||||
// // 禁止F12
|
||||
// if (e.key === 'F12') {
|
||||
// e.preventDefault();
|
||||
|
||||
|
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 {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.function-content {
|
||||
|
||||
@ -83,7 +83,7 @@
|
||||
v-for="(item, index) in todoList"
|
||||
:key="index"
|
||||
class="todo-item"
|
||||
@click="handleTodoClick(item.name)"
|
||||
@click="handleTodoClick(item.name)"
|
||||
>
|
||||
<span class="todo-name">{{ item.name }}</span>
|
||||
<span class="todo-count">{{ item.count }}</span>
|
||||
@ -142,9 +142,9 @@ export default Vue.extend({
|
||||
}
|
||||
},
|
||||
created() {
|
||||
// 移除 initMybalance 调用,因为现在使用 computed 的 mybalance
|
||||
this.initMybalance(); // ❌ 删除这一行
|
||||
this.getUnreadMsgCount();
|
||||
|
||||
this.initMybalance();
|
||||
this.getUnreadMsgCount();
|
||||
this.fetchTodoCount();
|
||||
},
|
||||
mounted() {
|
||||
@ -186,8 +186,8 @@ export default Vue.extend({
|
||||
const iconIndex = index % this.navIcons.length;
|
||||
return this.navIcons[iconIndex];
|
||||
},
|
||||
// 移除 initMybalance 方法,因为现在使用 computed 的 mybalance
|
||||
async initMybalance() { // ❌ 删除这个方法
|
||||
|
||||
async initMybalance() {
|
||||
const res = await editReachargelogAPI()
|
||||
if (res.status) {
|
||||
this.mybalance = res.data
|
||||
|
||||