Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
08ac41ea
Commit
08ac41ea
authored
5 years ago
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改下载
parent
6ea35b41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
ShareMeDocuments.vue
src/components/administrative/ShareMeDocuments.vue
+11
-3
No files found.
src/components/administrative/ShareMeDocuments.vue
View file @
08ac41ea
...
@@ -157,7 +157,7 @@
...
@@ -157,7 +157,7 @@
@
click=
"downloadTotalInside()"
/>
@
click=
"downloadTotalInside()"
/>
</div>
</div>
</el-dialog>
</el-dialog>
<a
target=
"_blank"
style=
"display:none"
id=
"blankLink"
></a>
</div>
</div>
</
template
>
</
template
>
...
@@ -563,7 +563,11 @@
...
@@ -563,7 +563,11 @@
}
}
if
(
obj
.
shareFileType
==
2
)
{
if
(
obj
.
shareFileType
==
2
)
{
let
reg
=
/^http
(
s
)?
:
\/\/(
.*
?)\/
/
let
reg
=
/^http
(
s
)?
:
\/\/(
.*
?)\/
/
this
.
downloadFileRename
(
obj
.
fileUrl
.
replace
(
reg
,
''
),
obj
.
fileName
);
let
dom
=
document
.
querySelector
(
"#blankLink"
)
dom
.
href
=
obj
.
fileUrl
dom
.
click
()
return
this
.
downloadFileRename
(
obj
.
fileUrl
.
replace
(
reg
,
''
),
obj
.
FolderName
);
}
}
},
},
downloadTotal
()
{
downloadTotal
()
{
...
@@ -620,7 +624,11 @@
...
@@ -620,7 +624,11 @@
}
}
if
(
obj
.
DataType
==
2
)
{
if
(
obj
.
DataType
==
2
)
{
let
reg
=
/^http
(
s
)?
:
\/\/(
.*
?)\/
/
let
reg
=
/^http
(
s
)?
:
\/\/(
.*
?)\/
/
this
.
downloadFileRename
(
obj
.
FilePath
.
replace
(
reg
,
''
),
obj
.
FolderName
);
let
dom
=
document
.
querySelector
(
"#blankLink"
)
dom
.
href
=
obj
.
fileUrl
dom
.
click
()
return
this
.
downloadFileRename
(
obj
.
fileUrl
.
replace
(
reg
,
''
),
obj
.
FolderName
);
}
}
},
},
downloadTotalInside
()
{
downloadTotalInside
()
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment