问题:TS2550: Property ‘entries’ does not exist on type ‘ObjectConstructor’. Do you need to change your target library? Try changing the ‘lib’ compiler option to ‘es2017’ or later. JS库版本太低,需要添加更改版本库 问题解决: 在 tsconfig.app.json 中添加 { "compilerOptions": { ... "lib": ["ES2021"] ... } }