From ff07b0c016b7a59802dca9835b1ba4f5d83810de Mon Sep 17 00:00:00 2001 From: chenshihai Date: Tue, 6 Dec 2022 14:05:57 +0800 Subject: [PATCH] repos square --- web_src/vuepages/pages/repos/components/ReposList.vue | 2 +- web_src/vuepages/pages/repos/components/SquareTop.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web_src/vuepages/pages/repos/components/ReposList.vue b/web_src/vuepages/pages/repos/components/ReposList.vue index 8862deea3..92840d7bd 100644 --- a/web_src/vuepages/pages/repos/components/ReposList.vue +++ b/web_src/vuepages/pages/repos/components/ReposList.vue @@ -60,7 +60,7 @@ export default { const contributorsCnt = item.TotalContributorCount <= 6 ? Math.min(contributors.length, item.TotalContributorCount) : item.TotalContributorCount; return { ...item, - NameShow: this.handlerSearchStr(item.Name, this.q), + NameShow: this.handlerSearchStr(item.Alias, this.q), DescriptionShow: this.handlerSearchStr(item.Description, this.q), TopicsShow: (item.Topics || []).map((_item) => { return { diff --git a/web_src/vuepages/pages/repos/components/SquareTop.vue b/web_src/vuepages/pages/repos/components/SquareTop.vue index 93352ed7c..0a0c5e824 100644 --- a/web_src/vuepages/pages/repos/components/SquareTop.vue +++ b/web_src/vuepages/pages/repos/components/SquareTop.vue @@ -97,7 +97,7 @@ export default { let dataJ = data[j]; if (dataJ === undefined) break; html += `
- +
${dataJ.Description}
` const topics = dataJ.Topics || [];