Jelajahi Sumber

fix: 修复移动端查看发票ios跳转404问题2

cuiyalong 6 bulan lalu
induk
melakukan
277eb7f586
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  1. 5 0
      apps/mobile/src/views/invoice/viewInvoice.vue

+ 5 - 0
apps/mobile/src/views/invoice/viewInvoice.vue

@@ -222,6 +222,7 @@ import popupTip from '@/components/invoice/popupTip'
 import invoiceList from '@/components/invoice/invoiceList'
 import invoiceErr from '@/components/invoice/invoiceErr'
 import invoiceProgress from '@/views/order/components/dataexport/DataExportProgress'
+import downloadApp from '@/utils/mixins/modules/to-download-app'
 
 export default {
   name: 'ViewInvoice',
@@ -261,6 +262,7 @@ export default {
       }
     }
   },
+  mixins: [downloadApp],
   data() {
     return {
       steps: [
@@ -591,6 +593,9 @@ export default {
           } else {
             // 我的订单入口
             if (androidOrIOS() === 'ios') {
+              if (this.$envs.inWxMini) {
+                return this.toFollowGuidePage()
+              }
               window.open(seeLink)
             } else {
               const eleLink = document.createElement('a') // 新建A标签