品牌列表接口orderTyoe传值bug
This commit is contained in:
parent
5a34bde3b7
commit
14e47ccf0e
|
|
@ -230,7 +230,8 @@ export default {
|
|||
const params = {
|
||||
first_class: this.activeId || 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 => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue