Jelajahi Sumber

Merge branch 'cps' into test

panyong 3 tahun lalu
induk
melakukan
3f6c2b33a6
1 mengubah file dengan 1 tambahan dan 7 penghapusan
  1. 1 7
      htmldev/cps/src/views/common/openWxMiniProgram/index.vue

+ 1 - 7
htmldev/cps/src/views/common/openWxMiniProgram/index.vue

@@ -92,14 +92,8 @@ export default {
         if (status) {
           // type 类型:1-h5 2-小程序
           const { type, url } = data
-          let pagePath = data.page_path
           this.accountId = data.app_id
-          if (pagePath.indexOf('.html?') === -1) {
-            pagePath = pagePath.replace('?', '.html?')
-          } else if (pagePath.indexOf('?') === -1) {
-            pagePath += '.html'
-          }
-          this.appPath = pagePath
+          this.appPath = data.page_path
           if (type === 2 && isSupportJumpWXmini()) {
             this.showFlag = true
           } else {