Commit a38b24ce by chenshu

fix:修改样式

parent e685fac6
import React, { useEffect, useState } from 'react';
import { Empty, ConfigProvider, Table } from 'antd';
import Lottie from 'react-lottie';
import * as noData from '../modules/lottie/noData/data.json';
import * as nodata from '../modules/lottie/nodata/data.json';
function XMTable(props) {
const [empty, setEmpty] = useState(props.renderEmpty || {});
......@@ -17,7 +17,7 @@ function XMTable(props) {
const defaultOptions = {
loop: true,
autoplay: true,
animationData: empty.image || noData,
animationData: empty.image || nodata,
rendererSettings: {
preserveAspectRatio: 'xMidYMid slice'
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment