Browse Source

修复被@后点不掉的bug

master
xie.bx 2 years ago
parent
commit
19b0fce29e
  1. 7
      im-platform/src/main/resources/application.yml
  2. 2
      im-ui/src/store/chatStore.js
  3. 2
      im-uniapp/store/chatStore.js

7
im-platform/src/main/resources/application.yml

@ -26,7 +26,7 @@ mybatis-plus:
configuration: configuration:
# 是否开启自动驼峰命名规则(camel case)映射,即从经典数据库列名 A_COLUMN(下划线命名) 到经典 Java 属性名 aColumn(驼峰命名) 的类似映射 # 是否开启自动驼峰命名规则(camel case)映射,即从经典数据库列名 A_COLUMN(下划线命名) 到经典 Java 属性名 aColumn(驼峰命名) 的类似映射
map-underscore-to-camel-case: false map-underscore-to-camel-case: false
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# mapper # mapper
mapper-locations: mapper-locations:
# *.xml的具体路径 # *.xml的具体路径
@ -50,4 +50,7 @@ jwt:
secret: MIIBIjANBgkq secret: MIIBIjANBgkq
refreshToken: refreshToken:
expireIn: 604800 #7天 expireIn: 604800 #7天
secret: IKDiqVmn0VFU secret: IKDiqVmn0VFU
logging:
config: classpath:logback-prod.xml

2
im-ui/src/store/chatStore.js

@ -50,6 +50,8 @@ export default {
lastSendTime: new Date().getTime(), lastSendTime: new Date().getTime(),
unreadCount: 0, unreadCount: 0,
messages: [], messages: [],
atMe: false,
atAll: false
}; };
state.chats.unshift(chat); state.chats.unshift(chat);
} }

2
im-uniapp/store/chatStore.js

@ -51,6 +51,8 @@ export default {
lastSendTime: new Date().getTime(), lastSendTime: new Date().getTime(),
unreadCount: 0, unreadCount: 0,
messages: [], messages: [],
atMe: false,
atAll: false
}; };
state.chats.unshift(chat); state.chats.unshift(chat);
} }

Loading…
Cancel
Save