update 首页完善友情链接
This commit is contained in:
@@ -36,7 +36,8 @@ export default {
|
||||
this.loading = true
|
||||
getAction(this.url.list, {}).then((res) => {
|
||||
if (res.success) {
|
||||
this.dataSource = res.result
|
||||
// grounding 1上架 0下架(只显示上架的)
|
||||
this.dataSource = res.result.filter(item => item.grounding === '1')
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user