|
@ -318,7 +318,7 @@ const Index = () => { |
|
|
if (data.handleContent) { |
|
|
if (data.handleContent) { |
|
|
setHandleCenter(data.handleContent) |
|
|
setHandleCenter(data.handleContent) |
|
|
} |
|
|
} |
|
|
setIsBeforeReport(dayjs(data.time).diff('2023-08-02', 'd') < 0) |
|
|
setIsBeforeReport(dayjs(data.time).diff('2023-08-03 00:00:00', 'h') < 0) |
|
|
} else { |
|
|
} else { |
|
|
Taro.showToast({ title: res.data.message || '请求出错', icon: 'none' }) |
|
|
Taro.showToast({ title: res.data.message || '请求出错', icon: 'none' }) |
|
|
} |
|
|
} |
|
|