mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
Pagination: fix a potential exception with new deps
This commit is contained in:
@@ -74,6 +74,8 @@ export default {
|
||||
const rightWrapper = <div class="el-pagination__rightwrapper"></div>;
|
||||
let haveRightWrapper = false;
|
||||
|
||||
template.children = template.children || [];
|
||||
rightWrapper.children = rightWrapper.children || [];
|
||||
components.forEach(compo => {
|
||||
if (compo === '->') {
|
||||
haveRightWrapper = true;
|
||||
|
||||
Reference in New Issue
Block a user