diff --git a/dist.zip b/dist.zip deleted file mode 100644 index ba1ce0d..0000000 Binary files a/dist.zip and /dev/null differ diff --git a/src/pages/chart.jsx b/src/pages/chart.jsx index 60af27c..ef1d008 100644 --- a/src/pages/chart.jsx +++ b/src/pages/chart.jsx @@ -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() {
diff --git a/src/pages/index.less b/src/pages/index.less index c15b568..55070b1 100644 --- a/src/pages/index.less +++ b/src/pages/index.less @@ -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; }