shish 3 лет назад
Родитель
Сommit
76e060c273
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      hdApp/src/admin/home/workbench.vue
  2. 1 1
      hdApp/src/pagesPurchase/order.vue

+ 1 - 1
hdApp/src/admin/home/workbench.vue

@@ -374,11 +374,11 @@ export default {
       // #endif
       // #ifdef MP-WEIXIN
       if(this.dictInfo && this.dictInfo.subscribeMessage && this.dictInfo.subscribeMessage == 1 && this.dictInfo.hdMiniMessage && this.dictInfo.hdMiniMessage.cgSuccess){
+        that.pageTo({url: '/pagesPurchase/ghsProduct?id='+item.id})
         uni.requestSubscribeMessage({
           tmplIds: [this.dictInfo.hdMiniMessage.cgSuccess.msgId],
           success(res) {
             console.log(res)
-            that.pageTo({url: '/pagesPurchase/ghsProduct?id='+item.id})
           },
           fail(err) {
             console.log(err)

+ 1 - 1
hdApp/src/pagesPurchase/order.vue

@@ -128,11 +128,11 @@ export default {
       // #endif
       // #ifdef MP-WEIXIN
       if(this.dictInfo && this.dictInfo.subscribeMessage && this.dictInfo.subscribeMessage == 1 && this.dictInfo.hdMiniMessage && this.dictInfo.hdMiniMessage.cgSuccess){
+        that.pageTo({url: '/pagesPurchase/ghsProduct?id='+item.id})
         uni.requestSubscribeMessage({
           tmplIds: [this.dictInfo.hdMiniMessage.cgSuccess.msgId],
           success(res) {
             console.log(res)
-            that.pageTo({url: '/pagesPurchase/ghsProduct?id='+item.id})
           },
           fail(err) {
             console.log(err)