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

fix: 修改提示语时常

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