From 0b67fd879ccd4fb6319dc016babd3bb8ea79dff0 Mon Sep 17 00:00:00 2001
From: shikeying <pxzsky@163.com>
Date: 星期二, 25 四月 2023 18:47:35 +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