Commit 39070d07 authored by 熊成伟's avatar 熊成伟

debug

parent 36fe9b9d
Pipeline #15735 passed with stages
in 1 minute and 1 second
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment