Skip to content

Commit

Permalink
fix: fix admin message
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehco1996 committed Dec 24, 2023
1 parent 5230ee0 commit 28c2818
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions templates/adminbase.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,5 +154,13 @@ <h2 class="subtitle">
</div>
</body>
{% include "footer.html" %}
<!--整站消息提醒功能 -->
{% if messages %}
<script>
{% for message in messages %}
swal("{{ message.extra_tags }}", '{{ message }}', '{{ message.level_tag }}');
{% endfor %}
</script>
{% endif %}

</html>

0 comments on commit 28c2818

Please sign in to comment.