From 271753707b2df1ec57ad36e0323feab4b7e13e98 Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Thu, 26 Nov 2020 22:55:51 +0800 Subject: [PATCH] fix(popover): namespace from config provider not working --- package.json | 2 +- rollup.config.js | 3 ++- src/popover/src/PopoverBody.js | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e3123b3d0ff..84ac006fc84 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "highlight.js": "^9.18.1", "lodash-es": "^4.17.15", "treemate": "^0.1.11", - "vdirs": "^0.0.1", + "vdirs": "^0.0.3", "vfonts": "^0.0.1", "vooks": "^0.0.1", "vue": "^3.0.2", diff --git a/rollup.config.js b/rollup.config.js index 1f33c3db841..0c9a3708f85 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -50,6 +50,7 @@ module.exports = { '@css-render/plugin-bem', 'vueuc', 'vooks', - 'evtd' + 'evtd', + 'vdirs' ]) } diff --git a/src/popover/src/PopoverBody.js b/src/popover/src/PopoverBody.js index 6aa612d2232..6807d90a073 100644 --- a/src/popover/src/PopoverBody.js +++ b/src/popover/src/PopoverBody.js @@ -221,6 +221,7 @@ export default { enabled: this.followerEnabled, to: this.adjustedTo, placement: this.placement, + containerClass: this.namespace, ref: 'followerRef' }, { default: () => {