diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index d41820a6..315caed8 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -158,6 +158,11 @@ async function addInRow(row: TableDataWithIndex) { editingData.value = jsonClone(row); handleAdd(); } + +async function handleAddOperate() { + editingData.value = null; + handleAdd(); +}