gitcode描述修改为国家可信开源代码库

This commit is contained in:
付民康
2025-07-05 13:03:19 +08:00
parent 845d72d9e4
commit accc0fc42e
5 changed files with 6 additions and 6 deletions

2
.env
View File

@@ -1,4 +1,4 @@
VITE_APP_TITLE = '新gitcode'
VITE_APP_TITLE = '国家可信开源代码库'
VITE_TEST_REPOID = 34
VITE_SECRET_KEY = 'SA!nUNPZ5o!OSV&B'

View File

@@ -1,4 +1,4 @@
# gitcode-v2
# 国家可信开源代码库
架构:基于[create-vue](https://github.com/vuejs/create-vue)构建vite+vue3+pinia+scss
组件库:[Vue DevUI](https://vue-devui.github.io/)

View File

@@ -49,7 +49,7 @@
<template v-if="!isLogin">
<d-button @click="handleLogin('register')" class="min-w-[64px]">注册</d-button>
<d-button variant="solid" color="primary" @click="handleLogin('login')">可信开源代码库账号登录</d-button>
<d-button variant="solid" color="primary" @click="handleLogin('login')">账号密码登录</d-button>
</template>
<template v-else>
<UserAvatar />

View File

@@ -38,7 +38,7 @@
<span>搜索记录</span>
</div>
<d-button @click="handleLogin('register')" class="min-w-[64px]">注册</d-button>
<d-button variant="solid" color="primary" @click="handleLogin('login')">Gitcode账号登录</d-button>
<d-button variant="solid" color="primary" @click="handleLogin('login')">账号密码登录</d-button>
</template>
<template v-else>
<!--ai copilot-->

View File

@@ -298,7 +298,7 @@ const openDelete = (row: any) => {
const defultColumns = ref([
{ key: 'softwareName', label: '软件名称', visible: true, filterable: true, sortable: false },
{ key: 'softwareVersion', label: '软件版本', visible: true, filterable: true, sortable: false },
// { key: 'trustScore', label: '软件可信评分', visible: true, filterable: false, sortable: true },
{ key: 'trustScore', label: '软件可信评分', visible: false, filterable: false, sortable: true },
{ key: 'securityScore', label: '软件重要性评分', visible: true, filterable: false, sortable: true },
{ key: 'licenseNum', label: 'License数量', visible: true, filterable: false, sortable: false,width: 140 },
{ key: 'industryCategory', label: '行业类型', visible: true, filterable: true, sortable: false },
@@ -329,7 +329,7 @@ const defultColumns = ref([
const columns = ref([
{ key: 'softwareName', label: '软件名称', visible: true, filterable: true, sortable: false },
{ key: 'softwareVersion', label: '软件版本', visible: true, filterable: true, sortable: false },
// { key: 'trustScore', label: '软件可信评分', visible: true, filterable: false, sortable: true },
{ key: 'trustScore', label: '软件可信评分', visible: false, filterable: false, sortable: true },
{ key: 'securityScore', label: '软件重要性评分', visible: true, filterable: false, sortable: true },
{ key: 'licenseNum', label: 'License数量', visible: true, filterable: false, sortable: false,width: 140 },
{ key: 'industryCategory', label: '行业类型', visible: true, filterable: true, sortable: false },