fix: 修复添加行时的操作顺序问题

This commit is contained in:
AN 2025-05-27 23:16:01 +08:00
parent 1cf855b073
commit f88f462b5d

View File

@ -155,8 +155,8 @@ async function edit(row: TableDataWithIndex<Api.System.Dept>) {
} }
async function addInRow(row: TableDataWithIndex<Api.System.Dept>) { async function addInRow(row: TableDataWithIndex<Api.System.Dept>) {
handleAdd();
editingData.value = jsonClone(row); editingData.value = jsonClone(row);
handleAdd();
} }
</script> </script>