Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/runtime-dom/src/apiCustomElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,11 @@ export class VueElement extends BaseClass {
*/
private _resolveDef() {
if (this._resolved) {
//#6934 if you use Both of KeepAlive and CustemElement,
//CustemElement will not recreate,so the property of
//"_resolved" would be "true",it means that should update it
this._applyStyles(this._def.styles)
this._update()
return
}
this._resolved = true
Expand Down