【优化】增加 image mj 按钮回调

pull/473/head
cherishsince 2024-06-05 09:51:33 +08:00
parent 29e1426a79
commit c96f3cea61
2 changed files with 3 additions and 3 deletions

View File

@ -63,8 +63,8 @@ const handlerImageBtnClick = async (type, imageDetail: ImageDetailVO) => {
}
/** 图片 - mj btn click */
const handlerImageMjBtnClick = async (button: ImageMjButtonsVO) => {
console.log('mj click', button)
const handlerImageMjBtnClick = async (button: ImageMjButtonsVO, imageDetail: ImageDetailVO) => {
console.log('mj click', button, imageDetail)
}
/** 下载 - image */

View File

@ -67,7 +67,7 @@ const handlerLoading = async (status: number) => {
/** mj 按钮 click */
const handlerMjBtnClick = async (button: ImageMjButtonsVO) => {
emits('onMjBtnClick', button)
emits('onMjBtnClick', button, props.imageDetail)
}
// watch