<script>
import { onShareAppMessage } from '@dcloudio/uni-app'
export default {
setup() {
onShareAppMessage(() => {
return {
title: 'test',
path: /pages/main/main
}
})
return {}
}
}
</script>
jaqi
- 发布:2024-02-20 18:25
- 更新:2024-02-21 10:36
- 阅读:764
jaqi (作者)
我看issue用的uni.showShareMenu,但是需求是要设置标图和path,还有就是里面说的是<script setup>的没说setup()的情况好像是?
2024-02-21 09:09