[tsl] ERROR at node_modules\wot-design-uni\components\wd-divider\wd-divider.vue:24
17:23:53.976 TS2304:Cannot find name 'defineProps'.
17:23:53.976 [tsl] ERROR at node_modules\wot-design-uni\components\wd-divider\types.ts:1
17:23:53.976 TS2614:Module '"vue"' has no exported member 'ExtractPropTypes'. Did you mean to use 'import ExtractPropTypes from "vue"' instead?
17:23:53.977 [tsl] ERROR at node_modules\wot-design-uni\components\wd-loading\wd-loading.vue:20
17:23:53.977 TS2614:Module '"vue"' has no exported member 'computed'. Did you mean to use 'import computed from "vue"' instead?
17:23:53.977 [tsl] ERROR at node_modules\wot-design-uni\components\wd-loading\wd-loading.vue:20
17:23:53.977 TS2614:Module '"vue"' has no exported member 'onBeforeMount'. Did you mean to use 'import onBeforeMount from "vue"' instead?
17:23:53.977 [tsl] ERROR at node_modules\wot-design-uni\components\wd-loading\wd-loading.vue:20
17:23:53.977 TS2614:Module '"vue"' has no exported member 'ref'. Did you mean to use 'import ref from "vue"' instead?
17:23:53.977 [tsl] ERROR at node_modules\wot-design-uni\components\wd-loading\wd-loading.vue:20
17:23:53.977 TS2614:Module '"vue"' has no exported member 'watch'. Did you mean to use 'import watch from "vue"' instead?
17:23:53.977 [tsl] ERROR at node_modules\wot-design-uni\components\wd-loading\wd-loading.vue:20
17:23:53.977 TS2614:Module '"vue"' has no exported member 'CSSProperties'. Did you mean to use 'import CSSProperties from "vue"' instead?
17:23:53.977 [tsl] ERROR at node_modules\wot-design-uni\components\wd-loading\wd-loading.vue:38
17:23:53.977 TS2304:Cannot find name 'defineProps'.
17:23:53.977 [tsl] ERROR at node_modules\wot-design-uni\components\wd-loading\types.ts:10
17:23:53.977 TS2614:Module '"vue"' has no exported member 'ExtractPropTypes'. Did you mean to use 'import ExtractPropTypes from "vue"' instead?
17:23:53.978 [tsl] ERROR at node_modules\wot-design-uni\components\wd-loadmore\wd-loadmore.vue:37
17:23:53.978 TS1192:Module '"D:/workspace/e-query-miniprograme_uni/node_modules/wot-design-uni/components/wd-divider/wd-divider.vue"' has no default export
报错信息这么多,项目都跑不起来,TS校验能不能禁用,用的wot-design-uni 组件库

1***@qq.com
- 发布:2024-11-14 17:26
- 更新:2024-11-14 17:30
- 阅读:160
1***@qq.com (作者)
解决了,这个项目是从小程序转成uni的,配置成vue3就好了
2024-11-14 17:52