fix: 解决冲突

This commit is contained in:
JiangQiming 2023-03-29 16:12:10 +08:00
parent f41fa6d279
commit ba3661ae49
1 changed files with 19 additions and 4 deletions

View File

@ -74,9 +74,17 @@
>
<template #description>
暂无数据请先
<j-button type="link" @click="handleAdd">
<!-- <j-button type="link" @click="handleAdd">
添加{{ providerType[props.channel] }} 接入网关
</j-button>
</j-button> -->
<PermissionButton
type="link"
style="padding: 0"
hasPermission="link/AccessConfig:add"
@click="onJump"
>
添加{{ providerType[props.channel] }}接入网关
</PermissionButton>
</template>
</j-empty>
<div
@ -242,8 +250,8 @@ watch(
if (val) {
getGatewayList();
} else {
_selectedRowKeys.value = [];;
extendFormItem.value = [];;
_selectedRowKeys.value = [];
extendFormItem.value = [];
emit('close');
}
},
@ -311,6 +319,13 @@ const handleAdd = () => {
handleClick(value);
};
};
const onJump = () => {
menuStory.jumpPage(
`link/AccessConfig/Detail`,
{ id: ':id' },
{ view: false },
);
};
</script>
<style lang="less" scoped>