diff --git a/src/popover/index.js b/src/popover/index.js
index 25cf3b074..b81125595 100644
--- a/src/popover/index.js
+++ b/src/popover/index.js
@@ -126,14 +126,14 @@ export default createComponent({
const renderAction = (action, index) => {
const { icon, text, disabled, className } = action;
return (
-
+
);
};
@@ -167,7 +167,7 @@ export default createComponent({
{...{ ...attrs, 'onUpdate:show': toggle }}
>
+
{slots.default ? slots.default() : props.actions.map(renderAction)}
diff --git a/src/popover/index.less b/src/popover/index.less
index bc9d5c046..d961fbcf4 100644
--- a/src/popover/index.less
+++ b/src/popover/index.less
@@ -34,8 +34,6 @@
padding: 0 @padding-md;
font-size: @popover-action-font-size;
line-height: @line-height-md;
- background-color: transparent;
- border: none;
cursor: pointer;
&:last-child {
diff --git a/src/popover/test/__snapshots__/index.spec.js.snap b/src/popover/test/__snapshots__/index.spec.js.snap
index 1ef033dc4..c3e38fdc0 100644
--- a/src/popover/test/__snapshots__/index.spec.js.snap
+++ b/src/popover/test/__snapshots__/index.spec.js.snap
@@ -1,13 +1,13 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`should allow to custom the className of action 1`] = `
-
+
`;
exports[`should locate to reference element when showed 1`] = `
@@ -23,7 +23,9 @@ exports[`should locate to reference element when showed 2`] = `
>