fix: 修复应用配置中复制配置按钮,复制内容过多的问题

This commit is contained in:
hooray
2022-12-18 18:52:23 +08:00
parent c239f2fa0f
commit 7ee5bcb935
+1 -5
View File
@@ -37,11 +37,7 @@ watch(copied, (val) => {
})
function handleCopy() {
const settings: any = cloneDeep(settingsStore.$state)
delete settings.subMenuCollapseLastStatus
delete settings.mode
delete settings.title
copy(JSON.stringify(settings, null, 2))
copy(JSON.stringify(settingsStore.settings, null, 2))
}
</script>