uni-app 功能实现
时间:2020-08-05 14:29:33
收藏:0
阅读:156
功能一: 页面返回键
原始:
<button type="primary" @click="back">返回</button>
back() {
this.$router.back(-1);
},
uniapp:
<button type="primary" @tap="back">返回</button>
back(){
uni.navigateBack();
}
评论(0)