Commit 995fa068 authored by cellee's avatar cellee

预约加刷新,默认state变成1

Signed-off-by: cellee's avatarcellee <893264950@qq.com>
parent c4eb4bab
......@@ -86,15 +86,15 @@ export default {
changeOrigin: true,
pathRewrite: { '^': '' },
},
// '/tos/': {
// target: 'http://47.74.233.180:8651',
// changeOrigin: true,
// pathRewrite: { '^': '' },
// },
'/tos/': {
target: 'http://192.168.1.28:8651',
target: 'http://47.74.233.180:8651',
changeOrigin: true,
pathRewrite: { '^': '' },
},
// '/tos/': {
// target: 'http://192.168.1.28:8651',
// changeOrigin: true,
// pathRewrite: { '^': '' },
// },
},
};
......@@ -18,7 +18,7 @@ export default {
sourceData: null,
curString: {
subscribeDate: null,
status: null,
status: 0,
communityNameList: null,
tab:1,
curPage: 1,
......
......@@ -313,6 +313,18 @@ const FacilityBookings = (props: any) => {
}
}
// 预约刷新
const onReset = () => {
RA(9, {
userToken: token,
pageNum: curString.pageNum,
subscribeDate: curString.subscribeDate,
status: curString.status,
communityNameList: CommunityList,
globalMark: curString.globalMark,
});
};
return (
<>
<div className="base">
......@@ -389,7 +401,7 @@ const FacilityBookings = (props: any) => {
density: false,
fullScreen: false,
reload: () => {
// onReset();
onReset();
},
setting: false,
}}
......@@ -435,9 +447,7 @@ const FacilityBookings = (props: any) => {
options={{
density: false,
fullScreen: false,
reload: () => {
// onReset();
},
reload: false,
setting: false,
}}
// headerTitle="Facilities List"
......
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