Aslee 4 tahun lalu
induk
melakukan
d0cc0c42a1

+ 1 - 1
src/main/resources/config/dev/application-dev.yml

@@ -53,7 +53,7 @@ logging:
 # 服务域名
 caimei:
   siteEnv: 0 #网站环境,(2:正式环境,1:测试环境,0:开发环境)
-  spiServer: https://spi-t.caimei365.com
+  spiServer: http://localhost:8008
   imageDomain: https://img-b.caimei365.com
   wwwDomain: https://www-b.caimei365.com
 

+ 2 - 2
src/main/resources/static/js/article/list.js

@@ -65,8 +65,8 @@ var articleList = new Vue({
                             intro: item.a_intro,
                             typeId: item.a_type_id,
                             type: item.a_type_text,
-                            labelIds: item.a_label_ids,
-                            labels: item.a_label_text,
+                            labelIds: item.a_label_ids.replace(/[^[\d|\S]]*/g, ',').split(","),
+                            labels: item.a_label_text.replace(/[^[\d|\S]]*/g, ',').split(","),
                             pv: item.a_pv,
                             publisher: item.a_publisher,
                             publishDate: item.a_publish_date