update src/hooks/web/useMessage.ts.
Signed-off-by: niou233 <2922564446@qq.com>
This commit is contained in:
parent
084009f7f2
commit
2ff97758fd
@ -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'
|
|
||||||
}
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user