feat(runtime-core): improve warning for extraneous event listeners (#1005)
fix #1001
This commit is contained in:
@@ -490,7 +490,9 @@ function finishComponentSetup(
|
||||
|
||||
const attrHandlers: ProxyHandler<Data> = {
|
||||
get: (target, key: string) => {
|
||||
markAttrsAccessed()
|
||||
if (__DEV__) {
|
||||
markAttrsAccessed()
|
||||
}
|
||||
return target[key]
|
||||
},
|
||||
set: () => {
|
||||
|
||||
Reference in New Issue
Block a user