Commit 8f54f0da by 韩达

fix

parent 11d210f2
Showing with 5 additions and 4 deletions
...@@ -201,14 +201,15 @@ export default { ...@@ -201,14 +201,15 @@ export default {
// var that = this; // var that = this;
console.log(this.selectedLang); console.log(this.selectedLang);
let pdf_url = ""
if( selectedLang == 1 ){ if( selectedLang == 1 ){
let pdf_url = "/api/purContract/pdf"; pdf_url = "/api/purContract/pdf";
} }
if( selectedLang == 2 ){ if( selectedLang == 2 ){
let pdf_url = "/api/purContract/pdfHk"; pdf_url = "/api/purContract/pdfHk";
} }
if( selectedLang == 2 ){ if( selectedLang == 3 ){
let pdf_url = "/api/purContract/pdfUs"; pdf_url = "/api/purContract/pdfUs";
} }
this.$http('get', pdf_url, { this.$http('get', pdf_url, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment