2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-17 02:30:36 +03:00

refactor: remove date-fns && optimize code

This commit is contained in:
mengxiong10
2020-11-16 11:30:42 +08:00
parent a9b7900f39
commit a5a41096dc
37 changed files with 1908 additions and 1963 deletions
+1 -3
View File
@@ -11,9 +11,7 @@ describe('TableDate', () => {
it('corrent render', () => {
wrapper = mount(TableDate, {
propsData: {
calendarYear: 2019,
calendarMonth: 9,
firstDayOfWeek: 1,
calendar: new Date(2019, 9, 1, 0, 0, 0),
titleFormat: 'DD/MM/YYYY',
},
});