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