mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-06 18:24:07 +08:00
fix: 修复应用配置中复制配置按钮,复制内容过多的问题
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user