Commit 958d8d43 authored by 吕祺's avatar 吕祺 ⛹🏽

fix article

parent e2799a1d
import React from 'react'
import marked from 'marked'
import newsPage from '../content/newsPage.md'
import newsList from '../content/newsList.md'
import ronghuiPage from '../content/ronghuiPage.md'
/* eslint-disable no-unused-vars */
import Link from 'next/link'
......@@ -38,7 +39,8 @@ export default class PostPage extends React.Component {
type = type[0].slice(2)
const {
attributes: { news }
} = newsPage
} = newsList
let ReadArticleList = window.localStorage.getItem('read') || ''
ReadArticleList = ReadArticleList.split(' ')
const {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment