品牌列表接口orderTyoe传值bug

This commit is contained in:
BAKEYi 2026-06-03 11:26:56 +08:00
parent 5a34bde3b7
commit 14e47ccf0e
1 changed files with 2 additions and 1 deletions

View File

@ -230,7 +230,8 @@ export default {
const params = { const params = {
first_class: this.activeId || undefined, first_class: this.activeId || undefined,
second_class: targetSecondClass || undefined, second_class: targetSecondClass || undefined,
order_type: this.orderType // orderType 0 undefined使
order_type: this.orderType === 0 ? undefined : this.orderType
}; };
Object.keys(params).forEach(key => { Object.keys(params).forEach(key => {