fix: 修改复制失败的提示类型错误的问题

This commit is contained in:
奔跑的面条 2022-06-06 10:43:14 +08:00
parent a99d949b29
commit 041d7da9d8

View File

@ -140,7 +140,7 @@ const copyPreviewPath = (successText?: string, failureText?: string) => {
copy()
window['$message'].success(successText || '复制成功!')
} else {
window['$message'].success(failureText || '复制失败!')
window['$message'].error(failureText || '复制失败!')
}
}