Browse Source

fix select

Michael Wang 6 năm trước cách đây
mục cha
commit
9953eca746
1 tập tin đã thay đổi với 6 bổ sung2 xóa
  1. 6 2
      src/features/OnlinePractice/OnlinePracticeHome.vue

+ 6 - 2
src/features/OnlinePractice/OnlinePracticeHome.vue

@@ -17,8 +17,12 @@
           @on-change="fetchList"
           filterable
         >
-          <Option v-for="item in examList" :value="item.id" :key="item.id">
-            {{ item.name }}
+          <Option
+            v-for="item in examList"
+            :value="item.id"
+            :key="item.id"
+            :label="item.name"
+          >
           </Option>
         </Select>
       </div>