Skip to content

Commit e6b2f05

Browse files
committed
fix: use Object.assign for older browsers
1 parent 68cd612 commit e6b2f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/api/src/proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class ApiProxy<TTarget extends DevtoolsPluginApi<any> = DevtoolsPluginApi
3636
}
3737
}
3838
const localSettingsSaveId = `__vue-devtools-plugin-settings__${plugin.id}`
39-
let currentSettings = { ...defaultSettings }
39+
let currentSettings = Object.assign({}, defaultSettings)
4040
try {
4141
const raw = localStorage.getItem(localSettingsSaveId)
4242
const data = JSON.parse(raw)

0 commit comments

Comments
 (0)