vue typescript: Parameter ‘XXX’ implicitly has an ‘any’ type.解决方法

tsconfig.json

1.添加"noImplicitAny": false,即将你定义的数据类型 ,隐式具有“any”类型

2.或者 “strict”: true,改为false ,即关闭严格模式