退出当前小程序:
<navigator open-type="exit" target="miniProgram">退出程序</navigator>
小程序由app拉起,点击按钮退回app
<button open-type="launchApp" app-parameter="wechat" binderror="launchAppError">退出程序</button>
退出当前小程序:
<navigator open-type="exit" target="miniProgram">退出程序</navigator>
小程序由app拉起,点击按钮退回app
<button open-type="launchApp" app-parameter="wechat" binderror="launchAppError">退出程序</button>
本文标题:uni-app小程序退出当前小程序/app
本文链接:https://www.haomeiwen.com/subject/ullkrktx.html
网友评论