소스 검색

Merge branch 'master' of http://git.cc-lotus.info/service-platform/web-test

lrf402788946 4 년 전
부모
커밋
7e8fd57d4b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/parts/chat.vue

+ 1 - 1
src/components/parts/chat.vue

@@ -68,7 +68,7 @@ export default {
         return;
       }
       if (this.text != '') {
-        let object = { sender_name: this.user.name, content: this.text };
+        let object = { sender_name: this.user.name ? this.user.name : this.user.adminuser, content: this.text };
         if (this.user.uid) {
           object.sender_id = this.user.uid;
           object.role = this.user.role;