linwenxin 4 bulan lalu
induk
melakukan
7d7dfd3a08
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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