"name": "unibest-template", "type": "commonjs", "version": "2.6.3",微信小程序,ts类型报错‘不能将类型“Ref<string>”分配给类型“string”。’ 感觉像是ts对vue3这种写法不支持, const currentConversationID = ref<string>(''), 模版中直接 :conversationID="currentConversationID" 代码逻辑没问题,就是会有ts类型报错,查了很多资料,还是解决不了
"name": "unibest-template",
"type": "commonjs",
"version": "2.6.3",微信小程序,ts类型报错‘不能将类型“Ref”分配给类型“string”。’
感觉像是ts对vue3这种写法不支持,
const currentConversationID = ref(''),
模版中直接 :conversationID="currentConversationID"
代码逻辑没问题,就是会有ts类型报错,查了很多资料,还是解决不了