zhangxiaomu 1 سال پیش
والد
کامیت
ae7a0cf7c8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/view/wx-print/index.vue

+ 1 - 1
src/view/wx-print/index.vue

@@ -153,7 +153,7 @@ export default {
 
                     let baseUrl=this.$config.serviceUrl
 
-                    let url=baseUrl.substring(0,baseUrl.indexOf('/'))+'/wx-print?svc_code=' +this.$route.query.svc_code + '&is_download=true'
+                    let url=baseUrl.substring(0,baseUrl.indexOf('/',8),)+'/wx-print?svc_code=' +this.$route.query.svc_code + '&is_download=true'
                       + '&cp_id=' +  this.$route.query.cp_id + '&doc=' + this.$route.query.doc + '&layout_id='
                       + this.$route.query.layout_id + '&data_id=' + this.$route.query.data_id