| | |
| | | state.content = res.data |
| | | if(state.content.updateTime){state.content.updateTime.substring(0.,16)} |
| | | state.content.createTime = state.content.createTime.substring(0.,16) |
| | | state.content.pubDate = state.content.pubDate.substring(0,10) |
| | | }else{ |
| | | ElMessage.warning(res.message) |
| | | } |
| | |
| | | e.preventDefault(); |
| | | const file = { |
| | | fileUrl: e.target.href, |
| | | fileName: e.target.download |
| | | fileName: e.target.innerHTML |
| | | } |
| | | axios.get( file.fileUrl,{ |
| | | headers: |
| | |
| | | box-shadow: 1px 1px 3px rgba(0,0,0,.04); |
| | | padding: 20px 15px 40px; |
| | | background: #fff; |
| | | max-height: calc(100vh - 330px); |
| | | max-height: calc(100vh - 280px); |
| | | overflow-y: auto; |
| | | |
| | | .title{ |