feature/ais
Chengliang 2 years ago
parent 91147334b0
commit 9919087275

Binary file not shown.

@ -7,7 +7,7 @@ import WaterMark from 'watermark-component-for-react';
export default function chartPage() {
const [url, setUrl] = useState();
const [hasRight, setHasRight] = useState('');
const [hasRight, setHasRight] = useState('true');
const [watermark, setWatermark] = useState();
//
@ -25,10 +25,10 @@ export default function chartPage() {
<WaterMark content={watermark} font="20px Microsoft Yahei">
<div className={styles.chartContainer}>
<Image
width="100%"
src={url}
preview={false}
//src="https://img.xqppt.com/uploads/docx/22329/images/image1.jpg"
//src={page}
height={'100vh'}
/>
</div>
</WaterMark>

@ -1,3 +1,11 @@
/*
* @Author: Chengliang 1546584672@qq.com
* @Date: 2023-08-08 17:38:47
* @LastEditors: Chengliang 1546584672@qq.com
* @LastEditTime: 2023-08-09 14:38:52
* @FilePath: /org-chart-frant/src/pages/index.less
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AEmax
*/
.title {
background: rgb(121, 242, 157);
}
@ -11,5 +19,5 @@
}
.chartContainer {
width: 100%;
text-align: center;
}

Loading…
Cancel
Save