update
This commit is contained in:
@@ -26,7 +26,7 @@ const emits = defineEmits(['success']);
|
||||
</a-alert>
|
||||
<div class="flex">
|
||||
<div class="p-[20px] bg-[#F2F3F5] flex-grow min-h-[800px] relative">
|
||||
<Information :task="task" v-if="visible" @success="emits('success')"></Information>
|
||||
<Information :task="task" v-if="task?.id" @success="emits('success')"></Information>
|
||||
</div>
|
||||
<div class="w-[280px] h-auto flex flex-col bg-[#F2F3F5] gap-[20px]" v-if="task">
|
||||
<div class="bg-white p-[20px]">
|
||||
|
||||
@@ -32,6 +32,7 @@ const reset = () => {
|
||||
Object.keys(from.value).forEach(key => {
|
||||
from.value[key] = null;
|
||||
});
|
||||
emits('reset');
|
||||
emits('search');
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user