Commit da7d82f7 authored by XieZhiXiong's avatar XieZhiXiong

chore: 添加延时

parent 3e64aae2
......@@ -258,7 +258,9 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
dataId: id,
}).then(res => {
if (res.code === 1000) {
history.goBack();
setTimeout(() => {
history.goBack();
}, 800);
}
});
};
......
......@@ -323,7 +323,9 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
dataId: id,
}).then(res => {
if (res.code === 1000) {
history.goBack();
setTimeout(() => {
history.goBack();
}, 800);
}
});
};
......
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