|
|
|
@@ -456,8 +456,16 @@ export default async function initCloudrain() { |
|
|
|
.text(debug_button) |
|
|
|
.css("margin", "0 1rem"); |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else if (res.result_code == "-2") { |
|
|
|
$(".ui.modal.debug-again-alert").modal("show"); |
|
|
|
} else { |
|
|
|
$(".alert") |
|
|
|
.html(res.error_msg) |
|
|
|
.removeClass("alert-success") |
|
|
|
.addClass("alert-danger") |
|
|
|
.show() |
|
|
|
.delay(2000) |
|
|
|
.fadeOut(); |
|
|
|
} |
|
|
|
}, |
|
|
|
error: function (res) { |
|
|
|
|