Skip to content

Commit

Permalink
fix:toast失败提醒
Browse files Browse the repository at this point in the history
  • Loading branch information
AprDeci committed Aug 2, 2024
1 parent 82585c7 commit 9458160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/SingboxConveterWeb/src/components/center.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const convert = () => {
navigator.clipboard.writeText(resultlink.value).then(() => {
toast.add({ severity: 'success', summary: '成功', detail: '已复制到剪贴板', life: 3000 });
}).catch((error) => {
toast.add({ severity: 'error', summary: '失败', detail: error, life: 3000 });
});
}
Expand Down

0 comments on commit 9458160

Please sign in to comment.