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
c57ab032
Commit
c57ab032
authored
Feb 01, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改我的分享
parent
cdba03d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
myShareDocuments.vue
src/components/administrative/myShareDocuments.vue
+6
-2
No files found.
src/components/administrative/myShareDocuments.vue
View file @
c57ab032
...
...
@@ -283,7 +283,7 @@
</div>
</el-dialog
>
<a
target=
"_blank"
style=
"display:none"
id=
"blankLink"
></a>
</div>
</
template
>
...
...
@@ -640,7 +640,11 @@
this
.
fileList
.
push
(
obj
.
FileId
)
}
if
(
obj
.
shareFileType
==
2
){
let
reg
=
/^http
(
s
)?
:
\/\/(
.*
?)\/
/
let
reg
=
/^http
(
s
)?
:
\/\/(
.*
?)\/
/
let
dom
=
document
.
querySelector
(
"#blankLink"
)
dom
.
href
=
obj
.
FileUrl
dom
.
click
()
return
this
.
downloadFileRename
(
obj
.
FileUrl
.
replace
(
reg
,
''
),
obj
.
fileName
);
}
},
...
...
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