摘要: 1,使用 ajax 提交评论内容 给 api.js 2,数据库 contents 增加评论字段 3,后台路由 api.js 接收并完成存储 /** 增加评论(用户,内容,时间) */ router.post('/comment/post',(req,res)=>{ /** * 需要前端提交文章的id 阅读全文
posted @ 2019-06-22 23:06 武卡卡 阅读(241) 评论(0) 推荐(0) 编辑
摘要: width: 100%; height: 100%; display: block; width: 100%; height: 100%; display: block; 阅读全文
posted @ 2019-06-22 09:51 武卡卡 阅读(1646) 评论(0) 推荐(0) 编辑