瀏覽代碼

修复被@后点不掉的bug

xie.bx 2 年之前
父節點
當前提交
19b0fce29e
共有 3 個文件被更改,包括 9 次插入2 次删除
  1. 5 2
      im-platform/src/main/resources/application.yml
  2. 2 0
      im-ui/src/store/chatStore.js
  3. 2 0
      im-uniapp/store/chatStore.js

+ 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);
 			}