diff --git a/src/views/permission/account/index.vue b/src/views/permission/account/index.vue index ac961d8..7389c35 100644 --- a/src/views/permission/account/index.vue +++ b/src/views/permission/account/index.vue @@ -160,7 +160,7 @@ const columns = ref([ enum: [], }, }, - { prop: 'createdTime', label: '生成时间', search: { el: 'date-picker', props: { type: 'date' } } }, + { prop: 'createdTime', label: '生成时间', search: { el: 'date-picker', props: { type: 'daterange' } }, minWidth: 160 }, { prop: 'action', label: '操作', align: 'center', fixed: 'right', isShow: auths(['coupon:delete', 'coupon:edit']) }, ]); @@ -208,10 +208,10 @@ const onDeleteMenu = async (id) => { }; // 表单提交 -const onSubmit = () => { +const onSubmit = () => { if (!formRef.value) return; - formRef.value.validate(async (valid) => { + formRef.value.validate(async (valid) => { if (!valid) return; try {