根据提示我们可以给app加一个any 运行之后有一个警告 我们在package.json中配置 "rules":{ "@typescript-eslint/no-explicit-any":["off"] },