nhn / toast-ui.vue-calendar

Toast UI Calendar for Vue
MIT License
195 stars 54 forks source link

warn: infinite update loop in watcher expression 'month' #2

Closed sohee-lee7 closed 5 years ago

sohee-lee7 commented 5 years ago

Version

v1.0.1

Test Environment

<toast-ui-calendar
    class="full-calendar-body"
    ref="tuiCalendar"
    :is-read-only="true"
    :view="viewType"
    :month="monthOption"
    :week="weekOption"
    :schedules="schedules"
></toast-ui-calendar>
data() {
    return {
      viewType: 'month',
      monthOption: {
        grid: {
          footer: {
            height: 5
          }
        }
      },
      weekOption
    }
  }

Current Behavior

When using nested object for month prop, warn infinite update loop in watcher.

Expected Behavior

No error should occur.