Fix:2643 【地标好物】切换到无数据的省份,项目-企业推荐和服务内容会同步上一个省份内容

This commit is contained in:
modendeveloper
2024-11-24 15:19:00 +08:00
parent c484d20cb2
commit 82b8e53aee
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ export default {
methods: {
getData() {
getPorjectRecommend({landmarkDataId: this.landmarkDataId}).then(res => {
this.list = res.data
this.list = res.data || []
if(this.isMore) {
this.currentList = this.list
} else {