From 75f043dfa6660716364e66ee0b3cf99f44255686 Mon Sep 17 00:00:00 2001
From: DYL0109 <dn18191638832@163.com>
Date: 星期三, 16 四月 2025 19:20:36 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/develop1.0' into dyl_dev

---
 zhitan-vue/src/store/modules/settings.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/zhitan-vue/src/store/modules/settings.js b/zhitan-vue/src/store/modules/settings.js
index 22b7336..357aeba 100644
--- a/zhitan-vue/src/store/modules/settings.js
+++ b/zhitan-vue/src/store/modules/settings.js
@@ -23,7 +23,7 @@
       // 淇敼甯冨眬璁剧疆
       changeSetting(data) {
         const { key, value } = data
-        if (this.hasOwnProperty(key)) {
+        if (key in this.$state) {
           this[key] = value
         }
       },

--
Gitblit v1.9.3