799446817

导航

2018年12月22日 #

请求数据

摘要: this.$jsonp("http://cre.mix.sina.com.cn/api/v3/get?_=1543735672475").then((res)=>{ this.news=res.data.filter((item,index)=>{ return index<4 })}) //需要下 阅读全文

posted @ 2018-12-22 18:02 799446817 阅读(79) 评论(0) 推荐(0) 编辑

全局样式

摘要: @charset "utf-8";/* CSS Document */html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img { margin:0; padding:0; } 阅读全文

posted @ 2018-12-22 18:00 799446817 阅读(97) 评论(0) 推荐(0) 编辑

传参总结

摘要: mongod --dbpath=d:/data 开机再打开第二个窗口 mongohelp 帮助show dbs 查看数据库use 数据库名字 (use lx1816)切换数据库db.stu.save({"name":"zsf","age":"16"})查找:db.stu.find()show col 阅读全文

posted @ 2018-12-22 17:59 799446817 阅读(102) 评论(0) 推荐(0) 编辑

装mongondb数据库

摘要: 装mongondb数据库装好以后进入c盘mongondb bin里边 复制地址 将其放入环境变量里边 放之前需要往前边加一个英语的;在 d盘 建一个data文档 里边简历一个db文件夹 cmd命令框输入 mongod --dbpath=d:/data会看到27017 就表示数据库服务器开机成功啦 模 阅读全文

posted @ 2018-12-22 17:58 799446817 阅读(192) 评论(0) 推荐(0) 编辑