diff --git a/.env.development b/.env.development index f859cea..b474e80 100644 --- a/.env.development +++ b/.env.development @@ -5,4 +5,4 @@ NODE_ENV = 'production' # base api #枚苑正式 -VUE_APP_BASE_API = 'http://8.131.69.197:22000' +VUE_APP_BASE_API = 'http://8.131.69.197:22000' \ No newline at end of file diff --git a/src/utils/costum.js b/src/utils/costum.js index 55085e1..1e35661 100644 --- a/src/utils/costum.js +++ b/src/utils/costum.js @@ -90,3 +90,8 @@ export function praseStrEmpty(str) { } return str } + + +export function download(str) { + location.href=location.host+str +} diff --git a/src/views/reportform/currentOldReport.vue b/src/views/reportform/currentOldReport.vue index 5537b29..bd2bea3 100644 --- a/src/views/reportform/currentOldReport.vue +++ b/src/views/reportform/currentOldReport.vue @@ -46,6 +46,7 @@