Selaa lähdekoodia

refactor: only changed data can trigger saving

Casper Dai 3 vuotta sitten
vanhempi
sitoutus
1ed158e3b2
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      src/components/Schedule/components/ScheduleWrapper.vue

+ 1 - 0
src/components/Schedule/components/ScheduleWrapper.vue

@@ -22,6 +22,7 @@
           新增
         </button>
         <button
+          v-if="dirty"
           class="l-flex__none c-sibling-item o-button"
           @click="onSave"
         >