fix(nc-gui): type 'unknown' is not assignable to type 'Error'

This commit is contained in:
Wing-Kam Wong
2023-03-16 14:10:07 +08:00
parent c7de4dcb47
commit 36e3ff33a6
12 changed files with 22 additions and 22 deletions

View File

@@ -131,7 +131,7 @@ const copyUrl = async () => {
// Copied shareable base url to clipboard!
message.success(t('msg.success.shareableURLCopied'))
} catch (e) {
} catch (e: any) {
message.error(e.message)
}
$e('c:shared-base:copy-url')