Bläddra i källkod

修复被@后点不掉的bug

xie.bx 2 år sedan
förälder
incheckning
19b0fce29e

+ 5 - 2
im-platform/src/main/resources/application.yml

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

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

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

+ 2 - 0
im-uniapp/store/chatStore.js

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