s/moment/dayjs
This commit is contained in:
@@ -14,14 +14,14 @@
|
|||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { mapState, mapActions, mapGetters } from 'vuex'
|
import { mapState, mapActions, mapGetters } from 'vuex'
|
||||||
import moment from 'moment-timezone'
|
import dayjs from 'dayjs'
|
||||||
import { take, get } from 'lodash'
|
import { take, get } from 'lodash'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Calendar',
|
name: 'Calendar',
|
||||||
data () {
|
data () {
|
||||||
const month = moment().month() + 1
|
const month = dayjs().month() + 1
|
||||||
const year = moment().year()
|
const year = dayjs().year()
|
||||||
return {
|
return {
|
||||||
page: { month, year }
|
page: { month, year }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user