Commit c96f3cea by cherishsince

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

parent 29e1426a
......@@ -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 */
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment