提交 4e10c69d 编写于 作者: zhongyao.qiao's avatar zhongyao.qiao

feat 恢复微信环境判断

上级 885a1a78
......@@ -108,16 +108,16 @@ export default {
// on close
});
} else if (!isWeixin()) {
// this.$dialog
// .alert({
// type: 'warning',
// title: '提示',
// message: '请在微信中扫码打开!',
// confirmButtonText: '我知道了',
// })
// .then(() => {
// // on close
// });
this.$dialog
.alert({
type: 'warning',
title: '提示',
message: '请在微信中扫码打开!',
confirmButtonText: '我知道了',
})
.then(() => {
// on close
});
}
},
async mounted() {
......
......@@ -128,14 +128,14 @@ export default {
})
.then(() => {});
} else if (!isWeixin()) {
// this.$dialog
// .alert({
// type: 'warning',
// title: '提示',
// message: '请在微信中扫码打开!',
// confirmButtonText: '我知道了',
// })
// .then(() => {});
this.$dialog
.alert({
type: 'warning',
title: '提示',
message: '请在微信中扫码打开!',
confirmButtonText: '我知道了',
})
.then(() => {});
}
},
async mounted() {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册