Преглед изворни кода

refactor: only changed data can trigger saving

Casper Dai пре 3 година
родитељ
комит
1ed158e3b2
1 измењених фајлова са 1 додато и 0 уклоњено
  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"
         >