소스 검색

完整地址

zhangxiaomu 1 년 전
부모
커밋
dab19d3fd6
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/view/wx-print/index.vue

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

@@ -152,8 +152,8 @@ export default {
                   onOk: () => {
 
                     let baseUrl=this.$config.serviceUrl
-                    console.log('this.$config.serviceUrl',this.$config.serviceUrl)
-                    let url=baseUrl.substring(0,url.indexOf('/'))+'/wx-print?svc_code=' +this.$route.query.svc_code + '&is_download=true'
+
+                    let url=baseUrl.substring(0,baseUrl.indexOf('/'))+'/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