Browse Source

更新提示

shish 3 years ago
parent
commit
76e060c273
2 changed files with 2 additions and 2 deletions
  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
       // #endif
       // #ifdef MP-WEIXIN
       // #ifdef MP-WEIXIN
       if(this.dictInfo && this.dictInfo.subscribeMessage && this.dictInfo.subscribeMessage == 1 && this.dictInfo.hdMiniMessage && this.dictInfo.hdMiniMessage.cgSuccess){
       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({
         uni.requestSubscribeMessage({
           tmplIds: [this.dictInfo.hdMiniMessage.cgSuccess.msgId],
           tmplIds: [this.dictInfo.hdMiniMessage.cgSuccess.msgId],
           success(res) {
           success(res) {
             console.log(res)
             console.log(res)
-            that.pageTo({url: '/pagesPurchase/ghsProduct?id='+item.id})
           },
           },
           fail(err) {
           fail(err) {
             console.log(err)
             console.log(err)

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

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