From 8c1da9a8d79ec9cd3c5d114fdd028b287930dc1c Mon Sep 17 00:00:00 2001 From: Yingzhi Ji Date: Sat, 14 Nov 2020 19:32:17 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20LinkProps=20=E7=A7=BB=E9=99=A4=20type?= =?UTF-8?q?=20=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 解决 Link 组件不接受 type 属性但是类型定义仍然有 type --- packages/sula/src/render-plugin/link/Link.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sula/src/render-plugin/link/Link.tsx b/packages/sula/src/render-plugin/link/Link.tsx index a168761..e0a0c59 100644 --- a/packages/sula/src/render-plugin/link/Link.tsx +++ b/packages/sula/src/render-plugin/link/Link.tsx @@ -3,7 +3,7 @@ import { Button } from 'antd'; import { ButtonProps } from 'antd/lib/button'; import assign from 'lodash/assign'; -export interface LinkProps extends ButtonProps{ +export interface LinkProps extends Omit{ } export default class Link extends React.Component {