|
@@ -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
|