Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
hlcm
leaf-hlcm
Commits
5df3c0f4
Commit
5df3c0f4
authored
Oct 15, 2021
by
chenzhuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复图片预览浏览器适配
parent
bf1de981
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
viewer_tool.js
src/main/webapp/modules/viewerjs/viewer_tool.js
+3
-3
No files found.
src/main/webapp/modules/viewerjs/viewer_tool.js
View file @
5df3c0f4
...
...
@@ -64,7 +64,7 @@
}
}
});
while
(
arry
[
index
][
0
]
!=
href
)
{
while
(
arry
[
index
][
0
]
.
replace
(
/%27/g
,
''
)
!=
href
)
{
index
++
;
}
}
...
...
@@ -82,7 +82,7 @@
for
(
i
=
0
;
i
<
arry
.
length
;
i
++
){
if
(
index
==
i
){
src
=
arry
[
i
][
0
]
;
src
=
arry
[
i
][
0
]
.
replace
(
/%27/g
,
''
)
;
alt
=
arry
[
i
][
1
];
}
}
...
...
@@ -100,7 +100,7 @@
for
(
i
=
0
;
i
<
arry
.
length
;
i
++
){
if
(
index
==
i
){
src
=
arry
[
i
][
0
]
;
src
=
arry
[
i
][
0
]
.
replace
(
/%27/g
,
''
)
;
alt
=
arry
[
i
][
1
];
}
}
...
...
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