A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue-next/commit/9db3cbbfc1a072675a8d0e53edf3869af115dc60 below:

don't remove __file key from component type · vuejs/core@9db3cbb · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed Original file line number Diff line number Diff line change

@@ -116,7 +116,7 @@ function reload(id: string, newComp: ComponentOptions | ClassComponent) {

116 116

newComp = isClassComponent(newComp) ? newComp.__vccOpts : newComp

117 117

extend(component, newComp)

118 118

for (const key in component) {

119 -

if (!(key in newComp)) {

119 +

if (key !== '__file' && !(key in newComp)) {

120 120

delete (component as any)[key]

121 121

}

122 122

}

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4