From 36a4665e4746c29294386b3fd1d08d86b5beb8bc Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期一, 02 一月 2023 08:34:38 +0800
Subject: [PATCH] #
---
src/main/webapp/views/news.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/views/news.html b/src/main/webapp/views/news.html
index 3aab58e..e548501 100644
--- a/src/main/webapp/views/news.html
+++ b/src/main/webapp/views/news.html
@@ -46,7 +46,7 @@
color: #333333;
}
.level-2 {
- color: #1E9FFF;
+ color: #0087ec;
}
.level-3 {
color: red;
@@ -90,7 +90,7 @@
success: function (res) {
if (res.code === 200) {
let template = Handlebars.compile($('#newsTpl').html());
- $('.container').html(template({list: eval(res.data)}));
+ $('.container').html(template({list: res.data}));
if (autoScroll) {
window.scrollTo(0, document.body.scrollHeight)
}
--
Gitblit v1.9.1