一些issue修改
This commit is contained in:
@@ -80,18 +80,18 @@ const tableConfig = ref([
|
||||
sortable: false,
|
||||
sortMethod: null
|
||||
},
|
||||
{
|
||||
field: 'affectedComponent',
|
||||
header: '影响软件',
|
||||
sortable: true,
|
||||
sortMethod: null
|
||||
},
|
||||
{
|
||||
field: 'version',
|
||||
header: '版本',
|
||||
sortable: true,
|
||||
sortMethod: null
|
||||
}
|
||||
// {
|
||||
// field: 'affectedComponent',
|
||||
// header: '影响软件',
|
||||
// sortable: true,
|
||||
// sortMethod: null
|
||||
// },
|
||||
// {
|
||||
// field: 'version',
|
||||
// header: '版本',
|
||||
// sortable: true,
|
||||
// sortMethod: null
|
||||
// }
|
||||
]);
|
||||
|
||||
const list = ref([
|
||||
|
||||
@@ -22,7 +22,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="fr">
|
||||
<d-button class="mr-2" variant="solid" @click="openSubscription">订阅</d-button>
|
||||
<d-button v-if="!isSub" class="mr-2" variant="solid" @click="openSubscription">订阅</d-button>
|
||||
<d-button v-else class="mr-2" variant="solid" disabled>已订阅</d-button>
|
||||
<d-modal class="subscribe-modal" style="width: auto;" v-model="subscribeModalVisable" title="订阅漏洞预警通知">
|
||||
<template #header>
|
||||
<div class="subscribe-header">
|
||||
@@ -78,6 +79,7 @@ const softwareId = ref();
|
||||
const item = ref('');
|
||||
const deleteModal = ref();
|
||||
const deletevModels = ref(false);
|
||||
const isSub = ref(false);
|
||||
const ReleaseInfo = ref({
|
||||
basicInfo: {},
|
||||
copyRightReportList: [],
|
||||
@@ -199,6 +201,7 @@ const signCla = (row: any) => {
|
||||
|
||||
const subscribeModalVisable = ref(false);
|
||||
const openSubscription = () => {
|
||||
isSub.value = true;
|
||||
subscribeModalVisable.value = true;
|
||||
};
|
||||
const colseSubscription = () => {
|
||||
|
||||
Reference in New Issue
Block a user