Commit 82fa49ff authored by 崔佳豪's avatar 崔佳豪

fix: 站点切换spin样式

parent 85aa6229
Pipeline #54822 passed with stages
......@@ -125,7 +125,7 @@ const AllStations = props => {
setDefaultTab(event.target.value);
};
return (
<>
<Spin spinning={props.loading} tip="加载中">
<div className={layoutStyles.focusStations}>
<ul>{Array.isArray(data) ? data.map(item => StationsItem(item, props.action, props.setVisible, props.actionRef, props.setMenuLoading)) : null}</ul>
</div>
......@@ -158,9 +158,8 @@ const AllStations = props => {
) : (
<div className="city_pane city_container">{props.data.citySelector}</div>
)}
<Spin spinning={props.loading} tip="加载中" />
</div>
</>
</Spin>
);
};
......
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