<script setup>
import { Msg } from '@/model/chat.uts'
interface Props {
msg : Msg,
msgId : String
}
const props = defineProps<Props>()
这样h5能运行起来,但安卓报错
:05:15.483 x Expression expected
09:05:15.483 at components/message-list/message-bubble.uvue:10:1
09:05:15.483 7 | __name: 'message-bubble',
09:05:15.483 8 | __props: Props,
09:05:15.483 9 | props: {
09:05:15.483 10 | msg: { type: [Object as PropType<id>, String, > , Object as PropType<avatar>, String, > , Object as PropType<atUserList>, Array<String>, > , Object as PropType<conversationID>, String, > , Object as PropType<conversationType>, String, > , Object as PropType<flow>, String, > , Object as PropType<from>, String, > , Object as PropType<nick>, String, > , Object as PropType<to>, String > , Object as PropType<type>, String > , Object as PropType<time>, Number > , Object as PropType<text>, MsgText > ], required: true },
0 个回复