forked from huge/frontEnd/hugeOA

Mr Ke
2020-05-16 8d24b2559c9929814b31c0615bdcf915669350af
加入下载链接
1 files modified
4 ■■■ changed files
src/components/page/DocumentDetailPage/index.jsx 4 ●●● patch | view | raw | blame | history
src/components/page/DocumentDetailPage/index.jsx
@@ -142,7 +142,9 @@
        showPreviewIcon: true
      },
      onDownload: (file) => {
        console.log('file', file)
        // console.log('file', file)
        window.open(file.downloadUrl);
      },
      onChange: ({ file, fileList }) => {
        fileList = fileList.slice(-2);