Showing
1 changed file
with
2 additions
and
0 deletions
@@ -238,6 +238,8 @@ const getSearchParamsWithoutMethod = (params) => { | @@ -238,6 +238,8 @@ const getSearchParamsWithoutMethod = (params) => { | ||
238 | } | 238 | } |
239 | if (params.type !== 'default') { // 排序参数 | 239 | if (params.type !== 'default') { // 排序参数 |
240 | finalParams.order = params.order ? getTypeCont(params.type || '', params.order) : 's_t_asc'; | 240 | finalParams.order = params.order ? getTypeCont(params.type || '', params.order) : 's_t_asc'; |
241 | + } else if (params.order && params.order !== '0' && params.order !== '1') { | ||
242 | + finalParams.order = params.order; | ||
241 | } | 243 | } |
242 | if (params.limited) { | 244 | if (params.limited) { |
243 | finalParams.limited = params.limited; | 245 | finalParams.limited = params.limited; |
-
Please register or login to post a comment