Explorar o código

fix use coupon

ChengYuXuan %!s(int64=5) %!d(string=hai) anos
pai
achega
402a0df14c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/views/student/CourseList.vue

+ 2 - 0
src/views/student/CourseList.vue

@@ -208,12 +208,14 @@
         <div v-else>
           <v-card-title>优惠券选择</v-card-title>
           <v-data-table
+            v-model="selectedCoupons"
             :headers="couponHeaders"
             :items="coupons"
             class="elevation-1"
             show-select
             @item-selected="onSelectCoupon"
           >
+            <template #header.data-table-select></template>
           </v-data-table>
           <v-row justify="center" class="mt-5"> </v-row>
           <v-card-actions class="justify-space-around d-flex">