src/views/dashboard/qjUser.vue
@@ -92,7 +92,7 @@ }, // 查询参数 sort: {}, // 排序 pagination: { // 分页参数 size: 5, size: 15, num: 1 }, list: [], // 给table显示的数据 @@ -111,9 +111,11 @@ } }, mounted() { this.getDicts('LEAVETYPE').then(response => { this.leaveTypeOptions = response.data }) setTimeout(() => { this.getDicts('LEAVETYPE').then(response => { this.leaveTypeOptions = response.data }) }, 1000) }, methods: { leaveTypeFormat(row, column) {