Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c2d3813c
authored
Mar 01, 2024
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
下载文件 参数拼接问题修改
1 parent
d0dfe200
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/common/util.js
src/common/util.js
View file @
c2d3813
...
@@ -262,7 +262,7 @@ export const Util = {
...
@@ -262,7 +262,7 @@ export const Util = {
// return
// return
const
Temp
=
document
.
createElement
(
"a"
)
const
Temp
=
document
.
createElement
(
"a"
)
// Temp.href = process.env.VUE_APP_BASE_URL + '/article/export.do?articleId=' + row.id
// 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
Temp
.
href
=
url
// console.log(url)
// console.log(url)
// console.log(Temp.href)
// console.log(Temp.href)
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment