Commit f5198413 by wufan

feat:回访记录无数据不显示分页

parent a7818a7f
...@@ -129,6 +129,7 @@ class PlaybackData extends React.Component { ...@@ -129,6 +129,7 @@ class PlaybackData extends React.Component {
pagination={false} pagination={false}
style={{ margin: '16px 0' }}> style={{ margin: '16px 0' }}>
</Table> </Table>
{ total > 0 &&
<PageControl <PageControl
size="small" size="small"
current={current - 1} current={current - 1}
...@@ -138,6 +139,7 @@ class PlaybackData extends React.Component { ...@@ -138,6 +139,7 @@ class PlaybackData extends React.Component {
this.fetchPlaybackList(page + 1); this.fetchPlaybackList(page + 1);
}} }}
/> />
}
</div> </div>
) )
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: wufan * @Author: wufan
* @Date: 2020-11-30 10:47:38 * @Date: 2020-11-30 10:47:38
* @LastEditors: wufan * @LastEditors: wufan
* @LastEditTime: 2020-12-23 10:57:36 * @LastEditTime: 2020-12-23 11:07:32
* @Description: web店铺banner页面 * @Description: web店铺banner页面
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -254,10 +254,6 @@ class StoreWebDecoration extends React.Component { ...@@ -254,10 +254,6 @@ class StoreWebDecoration extends React.Component {
setTimeout(()=>{ setTimeout(()=>{
this.refs.headPicModal.click(); this.refs.headPicModal.click();
},100) },100)
this.setState({
previewUrl: img.src,
});
}, },
}; };
if (!this.state.photoclip) { if (!this.state.photoclip) {
...@@ -317,7 +313,7 @@ class StoreWebDecoration extends React.Component { ...@@ -317,7 +313,7 @@ class StoreWebDecoration extends React.Component {
}; };
addStoreBanner = () => { addStoreBanner = () => {
const { previewUrl, addBannerPath } = this.state; const { addBannerPath } = this.state;
const params = { const params = {
bannerPath: addBannerPath, bannerPath: addBannerPath,
storeId: User.getStoreId(), storeId: User.getStoreId(),
......
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