core: fix setting getAccess

This commit is contained in:
undefined committed 2026-06-10 23:39:48 +08:00
1 parent ee918c67fb
commit 44df5f0441
1 file changed
+1 -1
+1 -1
View File
@@ -181,7 +181,7 @@ export class SettingService extends Service {
if (path.some((p) => typeof p === 'symbol')) return currentValue;
return new Proxy(currentValue, {
get(self, key: string) {
return getAccess([...path, ...key]);
return getAccess([...path, key]);
},
set(self, p: string | symbol, newValue: any) {
that.setConfig([...path, p].join(','), newValue);