"元素隐式具有 “any” 类型,因为类型“Shared”没有索引签名"问题解决思路 在tsconfig.json里 设置或者添加: "suppressImplicitAnyIndexErrors": true, "noImplicitAny":false,