liyongli 2 năm trước cách đây
mục cha
commit
af9f950866
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/view/WorldCup/components/chat.vue

+ 2 - 2
src/view/WorldCup/components/chat.vue

@@ -4,7 +4,7 @@
       <div class="kuang">
         <div ref="allChat" :style="'transform: translateY(' + mT + 'px);'">
           <div :key="i.id" :id="'chat' + i.id" v-for="i in chatList">
-            <div class="chat" v-text="i.content"></div>
+            <span class="chatText" v-text="i.content"></span>
           </div>
         </div>
       </div>
@@ -129,7 +129,7 @@ function oriSave() {
     .kuang {
       height: 100%;
       overflow: hidden;
-      .chat {
+      .chatText {
         background: #fff;
         border-radius: 2em;
         max-width: 80%;