From 95a22158adecdfd27910a4481de36ae34a057266 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Thu, 10 Jan 2019 20:38:36 +0800 Subject: [PATCH] fix: tooltip disabled button style error #389 --- components/tooltip/Tooltip.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tooltip/Tooltip.jsx b/components/tooltip/Tooltip.jsx index b9a3f2b40..7fe084a23 100644 --- a/components/tooltip/Tooltip.jsx +++ b/components/tooltip/Tooltip.jsx @@ -78,7 +78,7 @@ export default { display: 'inline-block', // default inline-block is important ...picked, cursor: 'not-allowed', - width: isAntBtn && ele.componentOptions.propsData.disabled ? '100%' : null, + width: isAntBtn && ele.componentOptions.propsData.block ? '100%' : null, } const buttonStyle = { ...omitted,