fix(脑图): bugFix

This commit is contained in:
baiqi 2024-06-24 17:30:20 +08:00 committed by 刘瑞斌
parent 50ddbce197
commit 7994219799
2 changed files with 2 additions and 7 deletions

View File

@ -39,7 +39,7 @@
<div class="bug-item">
<div class="mb-[4px] flex items-center justify-between">
<MsButton type="text" @click="goBug(item.bugId)">{{ item.num }}</MsButton>
<MsButton v-if="hasEditPermission" type="text" @click="disassociateBug(item.id)">
<MsButton v-if="hasEditPermission && showType === 'link'" type="text" @click="disassociateBug(item.id)">
{{ t('ms.add.attachment.cancelAssociate') }}
</MsButton>
</div>

View File

@ -233,12 +233,7 @@
</template>
</a-form>
<div v-if="hasEditPermission" class="flex items-center gap-[12px] bg-white pb-[16px]">
<a-button
v-permission="['FUNCTIONAL_CASE:READ+UPDATE']"
type="primary"
:loading="loading"
@click="handleConfigSave"
>
<a-button type="primary" :loading="loading" @click="handleConfigSave">
{{ t('common.save') }}
</a-button>
<a-button type="secondary" :disabled="loading" @click="handleConfigCancel">{{ t('common.cancel') }}</a-button>