update src/hooks/web/useMessage.ts.

Signed-off-by: niou233 <2922564446@qq.com>
This commit is contained in:
niou233 2023-11-10 11:34:32 +00:00 committed by Gitee
parent 084009f7f2
commit 2ff97758fd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -90,18 +90,6 @@ export const useMessage = () => {
cancelButtonText: t('common.cancel'), cancelButtonText: t('common.cancel'),
type: 'warning' type: 'warning'
}) })
},
// 取消收藏窗体
delStarConfirm(content?: string, tip?: string) {
return ElMessageBox.confirm(
content ? content : t('common.confirmDelStar'),
tip ? tip : t('common.confirmTitle'),
{
confirmButtonText: t('common.ok'),
cancelButtonText: t('common.cancel'),
type: 'warning'
}
)
} }
} }
} }