Ver código fonte

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

walkInALine 1 ano atrás
pai
commit
f3593c453a
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      src/components/Setting/src/Setting.vue

+ 2 - 1
src/components/Setting/src/Setting.vue

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