From 7cb91edeb02a377e3bdf1ef98e60fa2e6d9d5c96 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期一, 18 十二月 2023 16:32:10 +0800
Subject: [PATCH] #map latest test
---
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