<navigator class=“btn” open-type=“exit” target=“miniProgram”>退出登录</navigator>
?
你的微信小程序的开发工具的版本是多少?这个需要时2.1.0以后的版本才可以用