feature/网格瓦片系统 #9
@@ -698,4 +698,4 @@ func get_request_info(request_id: String) -> Dictionary:
|
|||||||
func _notification(what):
|
func _notification(what):
|
||||||
if what == NOTIFICATION_WM_CLOSE_REQUEST:
|
if what == NOTIFICATION_WM_CLOSE_REQUEST:
|
||||||
# 应用关闭时取消所有请求
|
# 应用关闭时取消所有请求
|
||||||
cancel_all_requests()
|
cancel_all_requests()
|
||||||
|
|||||||
@@ -587,4 +587,4 @@ func handle_response(operation_type: String, success: bool, data: Dictionary, er
|
|||||||
result.success = false
|
result.success = false
|
||||||
result.message = _get_error_message(data.get("error_code", ""), data.get("message", "操作失败"), error_info)
|
result.message = _get_error_message(data.get("error_code", ""), data.get("message", "操作失败"), error_info)
|
||||||
result.toast_type = "error"
|
result.toast_type = "error"
|
||||||
return result
|
return result
|
||||||
|
|||||||
Reference in New Issue
Block a user