摘要: data () { return { // 退出确认 backConfirm: true } }, // 导航离开该组件的对应路由时调用 beforeRouteLeave (to, from, next) { if (this.backConfirm) { mui.confirm('数据未进行保存将 阅读全文
posted @ 2021-03-30 09:35 jardeng 阅读(2073) 评论(0) 推荐(0)