fix:禅道349

This commit is contained in:
shijing 2026-02-27 11:14:51 +08:00
parent 33c97c1bd9
commit 3e9fc7f2c8
2 changed files with 15 additions and 0 deletions

View File

@ -67,6 +67,7 @@ const drawerVisible = ref(false);
const mode = ref('add');
const t_id = ref(null);
const handleAdd = () => {
t_id.value = null;
mode.value = 'add';
drawerVisible.value = true;
}

View File

@ -121,6 +121,20 @@ export default {
this.localMode = newVal;
}
},
beforeMount() {
this.formData = {
name: "",
description: "",
leader: null,
leader_name: "",
participants: "",
start_date: null,
end_date: null,
files: [],
files_: [],
note: "",
}
},
mounted() {
if (this.t_id) {
this.getTid();