摘要: 1.从官网下载node.js并安装。 2.有不少人反映使用此命令安装Electron不成功,可能是国外镜像的问题。 3.可以选择使用淘宝npm开发的cnpm进行安装。 4.准备好一个前端web项目(包含html,css,js等的) 5.web项目的目录应该是 6.package.json的内容 7. 阅读全文
posted @ 2019-02-19 16:56 wxxwjef 阅读(1845) 评论(0) 推荐(0) 编辑
摘要: var arr = new Array({"name": "wxx", "age": 2}, {"name": "wyw", "age": 6});var index = arr.findIndex(function(item) { return item.name "wyw";});console 阅读全文
posted @ 2018-05-18 08:49 wxxwjef 阅读(1561) 评论(0) 推荐(0) 编辑
摘要: pom中spring-boot-starter-parent版本原2.0.1,改成1.4.2就好了 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifac 阅读全文
posted @ 2018-04-23 09:42 wxxwjef 阅读(199) 评论(0) 推荐(0) 编辑
摘要: <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>两列式全屏布局</title> <style type="text/css">html, body {margin: 0;p 阅读全文
posted @ 2018-03-30 09:43 wxxwjef 阅读(217) 评论(0) 推荐(0) 编辑
摘要: js框架为vue,通过vue去循环生成layui-col-md2;<div class="layui-row layui-col-space1"> <template v-for="(item, index) in coursewares" v-cloak> <div class="layui-co 阅读全文
posted @ 2018-03-30 09:42 wxxwjef 阅读(5939) 评论(0) 推荐(0) 编辑