设置当前时间 const date = { year: new Date().getFullYear(), month: new Date().getMonth() + 1 } const systemDate = date.year + '-' + 0 + date.month this.$refs.filter.setValue({ key: 'yearPeriod', value: systemDate })