update
This commit is contained in:
@@ -28,6 +28,7 @@ const {config, title, buttonCol, formBottom} = defineProps({
|
||||
const from = defineModel('from');
|
||||
|
||||
const reset = () => {
|
||||
console.log(from.value)
|
||||
Object.keys(from.value).forEach(key => {
|
||||
from.value[key] = null;
|
||||
});
|
||||
@@ -69,6 +70,7 @@ const reset = () => {
|
||||
|
||||
<template v-if="item.type === FROM_TYPE.DATETIME">
|
||||
<a-range-picker
|
||||
v-model:model-value="from[item.key]"
|
||||
class="w-full"
|
||||
@change="(v) => {
|
||||
from[item.start] = v[0];
|
||||
|
||||
Reference in New Issue
Block a user