Commit 36fe9b9d authored by 熊成伟's avatar 熊成伟

debug

parent fd3b985a
Pipeline #15691 failed with stages
in 29 seconds
...@@ -4,13 +4,15 @@ import AdjunctList from '../../components/Adjunct' ...@@ -4,13 +4,15 @@ import AdjunctList from '../../components/Adjunct'
const Adjunct = (props) => { const Adjunct = (props) => {
const {data} = props const {data} = props;
const downlaod = (src) => {
const iframe = document.createElement('iframe');
iframe.style.display = 'none';
iframe.src = "javascript: '<script>location.href=\"" + src + "\"<\/script>'";
document.getElementsByTagName('body')[0].appendChild(iframe);
}
const listData = [ const listData = [
// {title: '开始时间', content: '文电科'},
// {title: '结束时间', content: '3'},
// {title: '天数', content: ''},
// {title: '乘坐交通工具', content: '武汉'},
{title: '附件', line: data.length > 0, content: {title: '附件', line: data.length > 0, content:
<div> <div>
{data.length > 0 ? data.map((item, index) => ( {data.length > 0 ? data.map((item, index) => (
......
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