update 首页完善友情链接

This commit is contained in:
danshihao
2023-12-27 16:49:15 +08:00
parent 686e815903
commit 0488c24b0d
@@ -36,7 +36,8 @@ export default {
this.loading = true this.loading = true
getAction(this.url.list, {}).then((res) => { getAction(this.url.list, {}).then((res) => {
if (res.success) { if (res.success) {
this.dataSource = res.result // grounding 1上架 0下架(只显示上架的)
this.dataSource = res.result.filter(item => item.grounding === '1')
} else { } else {
this.$message.warning(res.message) this.$message.warning(res.message)
} }