1
YM
2024-06-12 a7453eea26785a3100b35b9c10000dc202671221
1
2个文件已修改
11 ■■■■ 已修改文件
src/api/index.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/character/detail.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/index.js
@@ -160,7 +160,8 @@
    url: "/person/fuzzySearch",
    method: "post",
    params: {
      keyword: requestData?.keyword
      keyword: requestData?.keyword,
      personId: requestData?.personId,
    }
  });
};
src/pages/character/detail.vue
@@ -584,7 +584,6 @@
              : fieldItem.content1;
          }
        }
        console.log(obj);
        this.detailInfo = obj;
        getDynastyAll().then((dynastyData) => {
          getWebBasic({
@@ -601,8 +600,9 @@
          });
        });
        // 关系图谱
        this.getMappingData(this.detailInfo.NAME);
        this.getMappingData();
      });
      //现代研究
      getPersonInfo({
        id: this.detailId,
@@ -811,9 +811,9 @@
        }
      });
    },
    getMappingData(name) {
    getMappingData() {
      getFuzzySearch({
        keyword: name
        personId: this.detailId
      }).then((res) => {
        this.nodes = [];
        this.relationships = [];