Authored by Tao

try 500

@@ -246,11 +246,13 @@ export default { @@ -246,11 +246,13 @@ export default {
246 delete searchParams[key]; 246 delete searchParams[key];
247 } 247 }
248 } 248 }
  249 + try{
249 let result = await this.fetchProductList({ 250 let result = await this.fetchProductList({
250 ...searchParams, 251 ...searchParams,
251 page, 252 page,
252 pageSize 253 pageSize
253 }); 254 });
  255 +
254 let {data} = result; 256 let {data} = result;
255 257
256 if (result.code === 200) { 258 if (result.code === 200) {
@@ -269,6 +271,10 @@ export default { @@ -269,6 +271,10 @@ export default {
269 } 271 }
270 this.productList = list; 272 this.productList = list;
271 } 273 }
  274 + }catch(e) {
  275 + console.log(e);
  276 + this.productList.list = [];
  277 + }
272 }, 278 },
273 279
274 goSearch() { 280 goSearch() {