fix: 解决冲突
This commit is contained in:
parent
f41fa6d279
commit
ba3661ae49
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue