Explorar o código

refactor: only changed data can trigger saving

Casper Dai %!s(int64=3) %!d(string=hai) anos
pai
achega
1ed158e3b2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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"
         >