From c7bc3eb18e1fda4254ca0195e2133d2ed978de11 Mon Sep 17 00:00:00 2001 From: china <527956374@qq.com> Date: 星期四, 11 五月 2023 17:48:48 +0800 Subject: [PATCH] 样式调整 --- src/layout/components/Navbar.vue | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 97e5249..85245cd 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -85,9 +85,17 @@ showBreadCrumb:false // 鏄惁鏄剧ず椤堕儴闈㈠寘灞� } }, + + created() { + this.initTts(); + }, + methods: { + initTts(){ + this.$store.dispatch('app/setSpeechTts'); + }, toggleSideBar() { - this.$store.dispatch('app/toggleSideBar') + this.$store.dispatch('app/toggleSideBar'); }, async logout() { this.$confirm('纭畾娉ㄩ攢骞堕��鍑虹郴缁熷悧锛�', '鎻愮ず', { -- Gitblit v1.9.1