diff --git a/tsconfig.json b/tsconfig.json index e3b6a9acbf4434b026ebf665b90b7371de47a8fd..d2c0d6bee1946949d124660727c35aa034df3c86 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,7 +20,8 @@ "@dcloudio/types", "@uni-helper/uni-types", "@types/wechat-miniprogram", - "wot-design-uni/global.d.ts" + "wot-design-uni/global.d.ts", + "vue/jsx" // 添加这一行解决组件template飘红的问题 ] }, "vueCompilerOptions": {