二宝儿
二宝儿
  • 发布:2022-07-25 14:36
  • 更新:2022-07-25 21:13
  • 阅读:98

ts问题 无法使用

分类:uni-app

14:31:38.791 [tsl] ERROR at pages\tabBar\index\index.vue:14
14:31:38.792 TS2307:'@/components/grid-list/grid-list.vue'. script 节点必须使用 lang="ts",文档参考地址:https://uniapp.dcloud.io/frame?id=vue-ts
14:31:38.801 [tsl] ERROR at pages\tabBar\index\index.vue:15
14:31:38.802 TS2307:'@/components/lawyer-list/lawyer-list.vue'. script 节点必须使用 lang="ts",文档参考地址:https://uniapp.dcloud.io/frame?id=vue-ts
14:31:38.805 [tsl] ERROR at pages\tabBar\me\me.vue:28
14:31:38.806 TS2614:Module '"../../../../../UNIEXE/HBuilderX/plugins/uniapp-cli/node_modules/vue/types"' has no exported member 'ref'. Did you mean to use 'import ref from "../../../../../UNIEXE/HBuilderX/plugins/uniapp-cli/node_modules/vue/types"' instead?
14:31:38.810 [tsl] ERROR at pages\tabBar\me\me.vue:61
14:31:38.812 TS7006:Parameter 'item' implicitly has an 'any' type.
14:31:38.812 [tsl] ERROR at pages\tabBar\order\order.vue:36
14:31:38.815 TS2614:Module '"../../../../../UNIEXE/HBuilderX/plugins/uniapp-cli/node_modules/vue/types"' has no exported member 'ref'. Did you mean to use 'import ref from "../../../../../UNIEXE/HBuilderX/plugins/uniapp-cli/node_modules/vue/types"' instead?
14:31:38.815 [tsl] ERROR at pages\tabBar\list\list.vue:11
14:31:38.817 TS2307:'@/components/lawyer-list/lawyer-list.vue'. script 节点必须使用 lang="ts",文档参考地址:https://uniapp.dcloud.io/frame?id=vue-ts

2022-07-25 14:36 负责人:无 分享
已邀请:
DCloud_UNI_WZF

DCloud_UNI_WZF

提示不是很明确吗,问题是什么?
请参考 提交 Bug 模板反馈问题

要回复问题请先登录注册