修改页面bug

qzc-dev-demo
秦子超 2025-04-08 09:11:58 +08:00
parent 27911ed7da
commit 1326912f2f
3 changed files with 2 additions and 1 deletions

BIN
public/assets/data.pdf Normal file

Binary file not shown.

View File

@ -143,6 +143,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>