update: 未登录隐藏软件校验页

This commit is contained in:
@user8949
2025-03-19 18:16:27 +08:00
parent 0da1e2a061
commit 6ed811968d

View File

@@ -9,7 +9,7 @@
<d-tab id="OssQuery" title="软件列表">
<OssQuery/>
</d-tab>
<d-tab id="BatchVerify" title="软件校验">
<d-tab v-if="isLogin" id="BatchVerify" title="软件校验">
<BatchVerify/>
</d-tab>
</d-tabs>
@@ -28,9 +28,10 @@ import { getOrgInfo } from '@/views/Org/hooks/orgInfo';
import { Message } from 'vue-devui';
import OssQuery from './Components/OssQuery.vue';
import BatchVerify from './Components/BatchVerify.vue';
import { useAccountStore } from '@/stores/user';
const { namespace } = getOrgInfo();
const { isLogin } = useAccountStore();
// 获取当前路由
const route = useRoute();