Commit c2d3813c by zhangxw

下载文件 参数拼接问题修改

1 parent d0dfe200
......@@ -262,7 +262,7 @@ export const Util = {
// return
const Temp = document.createElement("a")
// Temp.href = process.env.VUE_APP_BASE_URL + '/article/export.do?articleId=' + row.id
url = url + "?timestamp=" + new Date().getTime()
url = url + `${url.includes('?') ? '&' : '?'}` + "timestamp=" + new Date().getTime()
Temp.href = url
// console.log(url)
// console.log(Temp.href)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!