fix: bug#10666、10672、10673、10676 修复协议管理部分bug

This commit is contained in:
jackhoo_98 2023-03-21 18:04:13 +08:00
parent 0b83a9c4df
commit 2cb4bcc86f
1 changed files with 5 additions and 1 deletions

View File

@ -125,6 +125,7 @@
style="padding: 0px"
@click="i.onClick"
type="link"
:danger="i.key === 'delete'"
:hasPermission="'link/Protocol:' + i.key"
>
<template #icon
@ -160,6 +161,7 @@ const columns = [
key: 'id',
search: {
type: 'string',
defaultTermType: 'eq',
},
width: 200,
fixed: 'left',
@ -230,6 +232,9 @@ const getActions = (
{
key: 'delete',
text: '删除',
tooltip: {
title: '删除',
},
popConfirm: {
title: '确认删除?',
onConfirm: async () => {
@ -281,7 +286,6 @@ const handleSearch = (e: any) => {
};
</script>
<style lang="less" scoped>
.card-item-content {
min-height: 100px;