1

parent c271370a
......@@ -190,10 +190,17 @@ function onChange(e) {
}
// 智能排序
const sortParams = (sortMode) => {
params.value.sortType = sortMode.sortMode;
refresh().then(() => {
queryOfferProdListFn();
});
if (sortMode) {
params.value.sortType = sortMode.sortMode;
refresh().then(() => {
queryOfferProdListFn();
});
} else {
delete params.value.sortType;
refresh().then(() => {
queryOfferProdListFn();
});
}
};
// 出发日期
const dataParams = (item, datePart) => {
......
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