Commit 98e6d4fb authored by guang.wu's avatar guang.wu

fix: 修改提示语时常

parent d689c51f
......@@ -409,6 +409,7 @@ export async function apiProductBiddingUpdate(params) {
return request.post('/api/merchants/products/bidding/edit', {
prefix: goodsApi,
data: params,
duration: 8,
});
}
......
......@@ -139,6 +139,7 @@ request.interceptors.response.use(async (response, options) => {
if (data.businessCode && data.businessCode !== '0000' && !options.notTip) {
notification.warning({
message: data.detail || data.msg || '操作失败',
duration: options.duration || 4.5,
});
}
return response;
......
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