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: {
|
actions: {
|
||||||
CHANGE_SETTING({ key, value }) {
|
CHANGE_SETTING({ key, value }) {
|
||||||
// eslint-disable-next-line no-prototype-builtins
|
if (Reflect.has(this, key)) {
|
||||||
if (this.hasOwnProperty(key)) {
|
|
||||||
this[key] = value;
|
this[key] = value;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user