[bugfix] Tab: may cause error when render title slot (#3631)
This commit is contained in:
@@ -318,7 +318,8 @@ export default sfc({
|
||||
renderTitle(el, index) {
|
||||
this.$nextTick(() => {
|
||||
const title = this.$refs.title[index];
|
||||
title.parentNode.replaceChild(el, title);
|
||||
title.innerHTML = '';
|
||||
title.appendChild(el);
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user