Merge branch 'dev' of github.com:jetlinks/jetlinks-ui-vue into dev

This commit is contained in:
jackhoo_98 2023-03-29 16:15:04 +08:00
commit 6d4a442ee8
1 changed files with 1 additions and 11 deletions

View File

@ -74,14 +74,11 @@
>
<template #description>
暂无数据请先
<!-- <j-button type="link" @click="handleAdd">
添加{{ providerType[props.channel] }} 接入网关
</j-button> -->
<PermissionButton
type="link"
style="padding: 0"
hasPermission="link/AccessConfig:add"
@click="onJump"
@click="handleAdd"
>
添加{{ providerType[props.channel] }}接入网关
</PermissionButton>
@ -319,13 +316,6 @@ const handleAdd = () => {
handleClick(value);
};
};
const onJump = () => {
menuStory.jumpPage(
`link/AccessConfig/Detail`,
{ id: ':id' },
{ view: false },
);
};
</script>
<style lang="less" scoped>