new-map
ihzero 2022-11-11 14:20:10 +08:00
parent 758568e610
commit 8b9f107b82
1 changed files with 2 additions and 5 deletions

View File

@ -177,7 +177,7 @@
</template>
<script lang="ts" setup>
// import moment from 'moment'
import moment from 'moment'
import { formatDataByObject, getWeek, getMonth } from '/@/utils/index'
import dayjs from 'dayjs'
import { PageWrapper } from '/@/components/Page'
@ -222,10 +222,7 @@
const statisData = ref<any>({})
const name = computed(() => baseDate?.value?.find((e: any) => e.id === formState.base_id)?.name)
const disabledDate = (current) => {
// console.log(moment().endOf('day'))
return false
// return current && current > moment().endOf('day')
return current && current > moment().endOf('day')
}
//
const getBase = async () => {