fix:禅道349
This commit is contained in:
parent
33c97c1bd9
commit
3e9fc7f2c8
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue