Prechádzať zdrojové kódy

fix: events can conflict with themselves

Casper Dai 3 rokov pred
rodič
commit
d79efd8bad

+ 1 - 1
src/components/Schedule/ScheduleComplex/index.vue

@@ -558,7 +558,7 @@ export default {
         this.onCloseEditDialog()
         return
       }
-      if (!this.checkConflict(event, this.$eventInst?.key)) {
+      if (!this.checkConflict(event, this.$eventProxy?.key)) {
         if (this.$eventProxy) {
           this.removeEventProxy(this.$eventProxy)
         }