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

feat 恢复微信环境判断

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