+1
-1
lines changedFilter options
+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