sửa lỗi form không reset, cập nhật thêm hàm gọi api khi thêm mới tàu
This commit is contained in:
@@ -31,6 +31,9 @@ export async function queryShipsImage(ship_id: string) {
|
||||
});
|
||||
}
|
||||
|
||||
export async function queryCreateShip(body: Model.ShipBodyRequest) {
|
||||
return await api.post(`${API_GET_ALL_SHIP}`, body);
|
||||
}
|
||||
export async function queryUpdateShip(
|
||||
shipId: string,
|
||||
body: Model.ShipBodyRequest
|
||||
|
||||
Reference in New Issue
Block a user