当前位置:网站首页>How to share small programs released by wechat
How to share small programs released by wechat
2022-06-23 03:11:00 【Low code preacher】
Micro build can release small programs , However, the released applet cannot be shared , The share button cannot be used
So how to set it to make the share button light up ? Open the low console , Find the home page of the application
Click on the low code editor in the navigation bar
Add the shared code to the life cycle function on the home page
export default {
onPageLoad(query) {
//console.log('---------> LifeCycle onPageLoad', query)
},
onPageShow() {
//console.log('---------> LifeCycle onPageShow')
},
onPageReady() {
//console.log('---------> LifeCycle onPageReady')
},
onPageHide() {
//console.log('---------> LifeCycle onPageHide')
},
onPageUnload() {
//console.log('---------> LifeCycle onPageUnload')
},
onShareAppMessage(){
return {
title:" Low code preacher ",
path:'/pages/index/index',
imageUrl:''
}
}
}After adding the code , Click publish , Release it as an experience version
Click share again to share
边栏推荐
- Detailed explanation of label smoothing and implementation of pytorch tenorflow
- Uploading logs using loghub log4j appender
- Win11 client remote ECS black screen
- Docker builds redis3 master-slave cluster and expands the capacity
- Quic implementation in rust --- Quinn
- How to gracefully solve the problem of platform font adaptation
- JS judge the mobile terminal and PC terminal
- "Tencent conference": how to operate and maintain efficiently in the face of exponential growth of business?
- Pnas: amygdala individual specific functional connectivity: Fundamentals of precision psychiatry
- Chapter IV open source projects and deployment
猜你喜欢
随机推荐
2022-01-28: for example, {5, 3, 1, 4} all number pairs are: (5,3), (5,1)
A penetration of an internal self built shooting range
Integrated solution for intelligent supply chain platform management in rubber industry
Account protection and use scheme
The metauniverse is just a cloak for future technological evolution
Extract NTDs with volume shadow copy service dit
Transformation solution of digital intelligent supply chain platform for project management in engineering industry
Build a weather forecast applet using a widget
The performance of the new Tokio scheduler is improved by 10 times
Wwdc21 - App store server API practice summary
How to use fortress on mobile devices
Im web demo invite end hang up error avoidance
What is the difference between JS undefined and null
DAAS architecture and Implementation (I)
Learning about urldns chains
How to batch print serial and repeated barcode data
PHP code specification
CFs of cifs/smb protocol is mounted on win10/2019. Error 1272 is reported. The security policy prevents unauthenticated guest access
About SSL certificates
Best practices for building multi architecture mirrors