|
@@ -132,7 +132,7 @@ const sendTextMessage = async (text) => {
|
|
|
specialUserId: '',
|
|
|
messageContent: text,
|
|
|
messageType: 0,
|
|
|
- noticeType: 1,
|
|
|
+ noticeType: 2,
|
|
|
object: {
|
|
|
id: getLocalId()
|
|
|
}
|
|
@@ -169,7 +169,7 @@ const sendImageMessage = async (file) => {
|
|
|
specialUserId: '',
|
|
|
messageContent: data.fileUrl,
|
|
|
messageType: 1,
|
|
|
- noticeType: 1,
|
|
|
+ noticeType: 2,
|
|
|
object: {
|
|
|
id: getLocalId()
|
|
|
}
|
|
@@ -231,11 +231,9 @@ const loadMore = async () => {
|
|
|
}
|
|
|
|
|
|
const onClickRight = () => {
|
|
|
- navigateTo({
|
|
|
- path: '/chat/set-single',
|
|
|
- query: {
|
|
|
- toUserId: route.query.getUserId
|
|
|
- }
|
|
|
+ groupId.value && navigateTo({
|
|
|
+ path: '/chat/set',
|
|
|
+ query: {groupId: groupId.value}
|
|
|
})
|
|
|
}
|
|
|
|