Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend
Project
Project
Details
Activity
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
Schedules
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
h5-communicate
frontend
Commits
39070d07
Commit
39070d07
authored
Jun 28, 2020
by
熊成伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
36fe9b9d
Pipeline
#15735
passed with stages
in 1 minute and 1 second
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
Adjunct.jsx
src/pages/EventProcessing/Adjunct.jsx
+6
-7
No files found.
src/pages/EventProcessing/Adjunct.jsx
View file @
39070d07
...
@@ -5,13 +5,12 @@ import AdjunctList from '../../components/Adjunct'
...
@@ -5,13 +5,12 @@ import AdjunctList from '../../components/Adjunct'
const
Adjunct
=
(
props
)
=>
{
const
Adjunct
=
(
props
)
=>
{
const
{
data
}
=
props
;
const
{
data
}
=
props
;
const
downlaod
=
(
src
)
=>
{
// const downlaod = (src) => {
const
iframe
=
document
.
createElement
(
'iframe'
);
// const iframe = document.createElement('iframe');
iframe
.
style
.
display
=
'none'
;
// iframe.style.display = 'none';
iframe
.
src
=
"javascript: '<script>location.href=
\"
"
+
src
+
"
\"
<
\
/script>'"
;
// iframe.src = "javascript: '<script>location.href=\"" + src + "\"<\/script>'";
document
.
getElementsByTagName
(
'body'
)[
0
].
appendChild
(
iframe
);
// document.getElementsByTagName('body')[0].appendChild(iframe);
}
// }
const
listData
=
[
const
listData
=
[
{
title
:
'附件'
,
line
:
data
.
length
>
0
,
content
:
{
title
:
'附件'
,
line
:
data
.
length
>
0
,
content
:
<
div
>
<
div
>
...
...
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