diff --git a/src/components/ebiz/Loading.vue b/src/components/ebiz/Loading.vue
index 13fbc8ebf..95da45919 100644
--- a/src/components/ebiz/Loading.vue
+++ b/src/components/ebiz/Loading.vue
@@ -2,14 +2,14 @@
-
+
diff --git a/src/views/ebiz/sale/PayMent.vue b/src/views/ebiz/sale/PayMent.vue
index d1e876f96..09a480e1d 100644
--- a/src/views/ebiz/sale/PayMent.vue
+++ b/src/views/ebiz/sale/PayMent.vue
@@ -205,12 +205,14 @@ export default {
methods: {
// 点击支付
payMent() {
- this.$toast.loading({
- duration: 0, // 持续展示 toast
- forbidClick: true, // 禁用背景点击
- loadingType: 'spinner',
- message: '加载中……'
- })
+ if (!this.isWeixin) {
+ this.$toast.loading({
+ duration: 0, // 持续展示 toast
+ forbidClick: true, // 禁用背景点击
+ loadingType: 'spinner',
+ message: '加载中……'
+ })
+ }
let that = this
let data = {
orderNo: window.localStorage.getItem('orderNo'),
@@ -252,9 +254,8 @@ export default {
window.localStorage.setItem('payStatus', res.payStatus)
window.localStorage.setItem('payInfo', JSON.stringify(res))
- if (!this.isWeixin) {
+ if (this.isWeixin) {
this.isLoading = false
- console.log('隐藏')
}
} else {
if (!this.isWeixin) {