fix: 修复商品评论筛选
parent
abbadfbab1
commit
098bee9bb4
|
@ -155,15 +155,17 @@ export default {
|
||||||
* 顶部筛选条件
|
* 顶部筛选条件
|
||||||
*/
|
*/
|
||||||
select(index) {
|
select(index) {
|
||||||
|
this.params = {
|
||||||
|
pageNumber: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
};
|
||||||
this.selectIndex = index;
|
this.selectIndex = index;
|
||||||
this.params.grade = ["", "GOOD", "MODERATE", "WORSE", ""][
|
this.params.grade = ["", "GOOD", "MODERATE", "WORSE", ""][
|
||||||
this.selectIndex
|
this.selectIndex
|
||||||
];
|
];
|
||||||
this.selectIndex == 4 ? (this.params.haveImage = 1) : true;
|
this.selectIndex === 4 ? (this.params.haveImage = 1) : true;
|
||||||
this.params.pageNumber = 1;
|
|
||||||
this.params.pageSize = 10;
|
|
||||||
this.commDetail = [];
|
this.commDetail = [];
|
||||||
if (this.selectIndex == 0) {
|
if (this.selectIndex === 0) {
|
||||||
this.params = {
|
this.params = {
|
||||||
pageNumber: 1,
|
pageNumber: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
|
|
Loading…
Reference in New Issue