fix(runtime-core): remove dev-only props property from setup context for consistency (#3492)
This commit is contained in:
parent
e752bddb33
commit
4549e65bae
@ -780,9 +780,6 @@ export function createSetupContext(
|
||||
// We use getters in dev in case libs like test-utils overwrite instance
|
||||
// properties (overwrites should not be done in prod)
|
||||
return Object.freeze({
|
||||
get props() {
|
||||
return instance.props
|
||||
},
|
||||
get attrs() {
|
||||
return new Proxy(instance.attrs, attrHandlers)
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user