Commit b364e4aa authored by 李腾's avatar 李腾

fix: 修复售后订单页面选中问题

parent 8447bd23
......@@ -263,10 +263,10 @@ const AfterSale = props => {
useEffect(() => {
if (location?.query) {
const { orderNo: orderNumber, tab } = location?.query;
if (tab) {
tabChange(tab);
if (orderNumber) {
tabChange('');
}
// setPageQueryOrderNo(orderNumber);
const params = {
orderNo: orderNumber,
dealStatus: null,
......@@ -278,6 +278,10 @@ const AfterSale = props => {
form.setFieldsValue(params);
setTableParams(params);
if (tab) {
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