update src/hooks/web/useMessage.ts.

Signed-off-by: niou233 <2922564446@qq.com>
(cherry picked from commit 2ff97758fd)
This commit is contained in:
niou233 2023-11-10 11:34:32 +00:00 committed by shizhong
parent c1d82098f9
commit c0b6729620

View File

@ -90,18 +90,6 @@ export const useMessage = () => {
cancelButtonText: t('common.cancel'),
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'
}
)
}
}
}