Browse Source

南京问题修复

maotao 3 months ago
parent
commit
4efba8ea03
2 changed files with 5 additions and 5 deletions
  1. 1 1
      manifest.json
  2. 4 4
      pages/receiptpage/receiptpage.vue

+ 1 - 1
manifest.json

@@ -112,8 +112,8 @@
112
         "router" : {
112
         "router" : {
113
             // 正常打包目录
113
             // 正常打包目录
114
             "base" : "/app/"
114
             "base" : "/app/"
115
-            // "base" : "/dstechbh/app/"
116
         },
115
         },
116
+        // "base" : "/dstechbh/app/"
117
         "optimization" : {
117
         "optimization" : {
118
             "treeShaking" : {
118
             "treeShaking" : {
119
                 "enable" : true
119
                 "enable" : true

+ 4 - 4
pages/receiptpage/receiptpage.vue

@@ -2754,8 +2754,8 @@
2754
       }
2754
       }
2755
       // #ifdef APP-PLUS
2755
       // #ifdef APP-PLUS
2756
       webHandle("no", "app");
2756
       webHandle("no", "app");
2757
-			// this.isUpdate = true
2758
-			// this.isApp = true
2757
+			this.isUpdate = true
2758
+			this.isApp = true
2759
       // #endif
2759
       // #endif
2760
       // #ifdef H5
2760
       // #ifdef H5
2761
       webHandle("no", "wx");
2761
       webHandle("no", "wx");
@@ -2765,8 +2765,8 @@
2765
 			this.getConfig();
2765
 			this.getConfig();
2766
 			let that = this
2766
 			let that = this
2767
 			// #ifdef APP-PLUS
2767
 			// #ifdef APP-PLUS
2768
-			// this.isUpdate = true
2769
-			// this.isApp = true
2768
+			this.isUpdate = true
2769
+			this.isApp = true
2770
 			uni.$off('scan') // 每次进来先 移除全局自定义事件监听器
2770
 			uni.$off('scan') // 每次进来先 移除全局自定义事件监听器
2771
 			uni.$on('scan', function(data) {
2771
 			uni.$on('scan', function(data) {
2772
 				that.padChange(data)
2772
 				that.padChange(data)