// 方法
getList() {
this.$net
.send({
server: "请求地址",
data: "请求参数",
})
.then((data) => {
if (data.code == 200) {
this.grteModeList = data.data;
this.grteModeList = this.grteModeList.filter((v) => {
return v.value == "02" || v.value == "03" || v.value == "07"
|| v.value == "08" || v.value == "09";
});
}
});
}
vue 过滤数据
最新推荐文章于 2024-05-03 23:08:21 发布