update: 未登录隐藏软件校验页
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user