mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-07 00:47:19 +08:00
fix: 修复点击内容区全屏报错问题
This commit is contained in:
parent
1c7af560fc
commit
6ebcb0a259
@ -23,8 +23,7 @@ export const useSettingStore = defineStore({
|
||||
},
|
||||
actions: {
|
||||
CHANGE_SETTING({ key, value }) {
|
||||
// eslint-disable-next-line no-prototype-builtins
|
||||
if (this.hasOwnProperty(key)) {
|
||||
if (Reflect.has(this, key)) {
|
||||
this[key] = value;
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user