@@ -94,6 +94,14 @@ export default {
methods: {
async pay() {
mini_env(bool => {
+ if (!bool) {
+ uni.showToast({
+ title: '请转移到小程序进行支付操作',
+ icon: 'success',
+ duration: 2000
+ })
+ return
+ }
this.$api.post('/worker/pay', { policyOrderId: this.info.id }).then(res => {
// 小程序环境
if (bool) {