Merge remote-tracking branch 'origin/standalone_develop' into standalone_develop

This commit is contained in:
“xxq250”
2022-07-29 14:18:58 +08:00

View File

@@ -0,0 +1,7 @@
<%if @error.present?%>
var alertDiv = $('<div class="alert alert-danger"><%= @error[:msg]%></div>')
$("#container").prepend(alertDiv)
setTimeout(function() {
$('.alert').remove();
}, 3000);
<%end%>