src/pages/character/detail.vue
@@ -585,7 +585,6 @@ : fieldItem.content1; } } console.log(obj); this.detailInfo = obj; getDynastyAll().then((dynastyData) => { getWebBasic({ @@ -602,8 +601,9 @@ }); }); // 关系图谱 this.getMappingData(this.detailInfo.NAME); this.getMappingData(); }); //现代研究 getPersonInfo({ id: this.detailId, @@ -812,9 +812,9 @@ } }); }, getMappingData(name) { getMappingData() { getFuzzySearch({ keyword: name, personId: this.detailId }).then((res) => { this.nodes = []; this.relationships = [];