uniapp如何實現返回監聽?

參考連接:官方文檔 web onBackPress(e) { console.log(e); if(e.from == 'backbutton'){ this.$utils.showModal('提示','房型還沒有保存,確認退出嗎?',true,'繼續編輯','肯定').then(()=>{ console.log('肯定') uni.navigate
相關文章
相關標籤/搜索