Commit 9beb8514 authored by 李腾's avatar 李腾

fix: 修复消息提醒跳转到售后搜索订单未子未自动填入

parent f9572ccc
......@@ -262,11 +262,14 @@ const AfterSale = props => {
// 监听路由query参数变化重新发起请求
useEffect(() => {
if (location?.query) {
const { orderNo: orderNumber, tab = '' } = location?.query;
const { orderNo: orderNumber, tab } = location?.query;
if (tab) {
tabChange(tab);
}
form.setFieldsValue({
orderNo: orderNumber,
});
tabChange(tab);
if (actionRef.current) {
actionRef.current.reload();
}
......
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