71e6a0857c5f411b8b8df3df4102cc32e7d32ba1..e75bd3fa45c54e59d578224a64fcba83fa0034d8
2024-06-12 YM
Merge branch 'master' of http://182.92.203.7:2001/r/TCM_CharacterLibrary
e75bd3 对比 | 目录
2024-06-12 YM
1
a7453e 对比 | 目录
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 = [];