Skip to content

Commit efe3ad2

Browse files
committed
refactor(Drawer): simplify data formatting in open function by removing unnecessary initialization
1 parent a6fdade commit efe3ad2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/business/src/views/data-server/Drawer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ const open = (formData?: any, copy?: boolean) => {
740740
741741
edit()
742742
} else {
743-
formatData(Object.assign(getInitData(), cloneDeep(formData)))
743+
formatData(cloneDeep(formData))
744744
745745
const { connectionId, tableName } = formData
746746

0 commit comments

Comments
 (0)