From 88c7d3e34f2698cb3f508e4b6a1c8e6fbf68d510 Mon Sep 17 00:00:00 2001 From: Hao Li Date: Thu, 14 Mar 2019 14:26:18 +0800 Subject: [PATCH] fix issue 14663 - slot in ElPagination is not updating --- packages/pagination/src/pagination.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/packages/pagination/src/pagination.js b/packages/pagination/src/pagination.js index 83b8bb313..bc7ae51f3 100644 --- a/packages/pagination/src/pagination.js +++ b/packages/pagination/src/pagination.js @@ -77,7 +77,7 @@ export default { pager: , next: , sizes: , - slot: , + slot: { this.$slots.default ? this.$slots.default : '' }, total: }; const components = layout.split(',').map((item) => item.trim()); @@ -107,15 +107,6 @@ export default { }, components: { - MySlot: { - render(h) { - return ( - this.$parent.$slots.default - ? this.$parent.$slots.default[0] - : '' - ); - } - }, Prev: { render(h) { return (