1.问题
不能将类型“{ class: any; xxx: string; yyy: string; zzz: string; }”
分配给类型“ElementAttrs<HTMLAttributes>”。
类型“ElementAttrs<HTMLAttributes>”上不存在属性“xxx”。ts(2322)
不能将类型“{ class: any; xxx: string; yyy: string; zzz: string; }”
分配给类型“ElementAttrs<HTMLAttributes>”。
类型“ElementAttrs<HTMLAttributes>”上不存在属性“xxx”。ts(2322)