杨磊
2024-06-12 f0380c48b2e9e05bded4bf5221cd07211c1ef495
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 = [];