-
- Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Description
Vue version
3.4.26
Link to minimal reproduction
Steps to reproduce
直接看报错
What is expected?
keyof
返回的是 string | number
的联合类型,类型校验应该通过
What is actually happening?
Invalid prop: type check failed for prop "name". Expected Object, got String with value "foo".
System Info
System: OS: Windows 10 10.0.19045 CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11400F @ 2.60GHz Memory: 6.45 GB / 15.87 GB Binaries: Node: 21.7.1 - D:\Program Files\nodejs\node.EXE Yarn: 1.22.22 - D:\Program Files\node\node_global\yarn.CMD npm: 10.5.2 - D:\Program Files\nodejs\npm.CMD pnpm: 9.0.6 - D:\Program Files\node\node_global\pnpm.CMD Browsers: Edge: Chromium (123.0.2420.97) Internet Explorer: 11.0.19041.3636 npmPackages: vue: ^3.4.26 => 3.4.26
Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
No labels