qzc-dev-demo
李神峰 2025-04-08 15:39:26 +08:00
commit b4a3e90148
3 changed files with 2 additions and 1 deletions

BIN
public/assets/data.pdf Normal file

Binary file not shown.

View File

@ -144,6 +144,7 @@ const HomePage = ({showPanels}) => {
setCheckedObj({ key:'41', label:'供水', labelRight:'今日供水实况', icon:'gongshui' })
}else if(a==='5'){
setCheckedObj({ key:'51', label:'水库', labelRight:'基本信息', icon:'shuiku' })
setShowTable(true)
}else{
}
}} expandIconPosition="end" accordion={true} bordered={false}>

View File

@ -129,7 +129,7 @@ const Page = () => {
border: 0,
marginTop: 0,
}}
src={`${process.env.PUBLIC_URL}/static/pdf/web/viewer.html?file=${encodeURIComponent(`http://223.75.53.141:83/tsg/data.pdf`)}`}
src={`${process.env.PUBLIC_URL}/static/pdf/web/viewer.html?file=${encodeURIComponent(`http://223.75.53.141:83/tsg/assets/data.pdf`)}`}
/>
</div>
</Modal>