diff --git a/app/javascript/components/shared/RepoDetail.vue b/app/javascript/components/shared/RepoDetail.vue index 23897470f..58eeeffef 100644 --- a/app/javascript/components/shared/RepoDetail.vue +++ b/app/javascript/components/shared/RepoDetail.vue @@ -17,7 +17,6 @@ :totalLikes="repo.likes" :hasLike="repo.user_likes" :repoType="repoType" - :baseModel="repo.base_model" /> diff --git a/app/javascript/components/shared/RepoHeader.vue b/app/javascript/components/shared/RepoHeader.vue index 4083f4dcc..7fa2ca197 100644 --- a/app/javascript/components/shared/RepoHeader.vue +++ b/app/javascript/components/shared/RepoHeader.vue @@ -182,15 +182,6 @@ /> {{ resourceName }} -
- {{ $t('all.baseModel') }}: -
- {{ baseModel }} -
-
{{ desc }}
@@ -234,8 +225,7 @@ default: 0 }, hasLike: Boolean, - resourceName: String, - baseModel: String + resourceName: String }) const userLiked = ref(props.hasLike) @@ -273,10 +263,6 @@ } }) - const redirectBaseModel = () => { - window.location.href = `/models/${props.baseModel}` - } - const clickLike = () => { userLiked.value === true ? removeLike() : addLike() } diff --git a/config/locales/en_js/all.js b/config/locales/en_js/all.js index 8ba30d26d..985529834 100644 --- a/config/locales/en_js/all.js +++ b/config/locales/en_js/all.js @@ -83,7 +83,6 @@ export const all = { fetchError: "Failed to fetch data", deploy: "Deploy", more:"More", - baseModel:"Base Model", sdkTips: "Please register first and then obtain the Token from OpenCSG's account page", public: "Public", private: "Private", diff --git a/config/locales/zh_js/all.js b/config/locales/zh_js/all.js index 8f6919f44..836da13b6 100644 --- a/config/locales/zh_js/all.js +++ b/config/locales/zh_js/all.js @@ -81,7 +81,6 @@ export const all = { fetchError: "获取数据失败", deploy: "部署", more:"更多", - baseModel:"基座模型", sdkTips: "请先注册,然后从 OpenCSG 的账号页面获取 Token", public: "公开", private: "私有",