Browse Source

no message

linwenxin 4 months ago
parent
commit
7d7dfd3a08
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/layout/components/Navbar.vue

+ 2 - 2
src/layout/components/Navbar.vue

@@ -106,7 +106,7 @@
       :append-to-body="true"
       :with-header="false"
       direction="rtl"
-      size="25%"
+      size="405px"
     >
       <div class="message">
         <div class="head">
@@ -163,7 +163,7 @@
             </div>
           </div>
         </div>
-        <el-card class="box-card" v-for="(item, index) in messageData" style="margin-top: 10px">
+        <el-card class="box-card" v-for="(item, index) in messageData" :key="index" style="margin-top: 10px">
           <div
             @click="
               isShow = false