fix: useClipboard在ip地址下不能使用问题

This commit is contained in:
walkInALine 2023-12-18 15:15:32 +08:00
parent c7658d8c70
commit f3593c453a
1 changed files with 2 additions and 1 deletions

View File

@ -174,7 +174,8 @@ const copyConfig = async () => {
//
topToolBorderColor: '${appStore.getTheme.topToolBorderColor}'
}
`
`,
legacy: true
})
if (!isSupported) {
ElMessage.error(t('setting.copyFailed'))