问题:
出现错误:类型“{ class: string; }”的参数不能赋给类型“ComponentPublicInstanceConstructor<{ props: { style?: unknown; readonly hoverClass?: string | undefined; readonly hoverStopPropagation?: boolean | undefined; … 12 more …; class?: unknown; }; … 10 more …; watch<T extends string | ((…args: any) => any)>(source: T, c…”的参数。 不能将类型“{ class: string; }”分配给类型
解决办法一:
解决方法二:
将 Volar 插件升级为 Vue-Office