上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页
摘要: 先 npm init 出一个package.json 文件来。再 npm install react-native --save //可以加上淘宝镜像地址。这一步是下载react-native的然后安装:node -e "require('react-native/local-cli/cli').i 阅读全文
posted @ 2019-12-30 14:56 聂小恶 阅读(340) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/Jioho_chen/article/details/82465607 https://www.w3cschool.cn/less/less_installation.html 阅读全文
posted @ 2019-12-02 09:45 聂小恶 阅读(83) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/sunLemon/p/9020153.html https://blog.csdn.net/weixin_30414245/article/details/94843416 阅读全文
posted @ 2019-09-20 11:17 聂小恶 阅读(529) 评论(0) 推荐(0) 编辑
摘要: class Person{ constructor(name,age){ //类的构造函数,实例化的时候执行,new的时候执行 this._name=name; this._age=age; } getName(){ console.log(this._name) } setName(name){ this._name=name } } var p =new Person('ssj',23) p. 阅读全文
posted @ 2019-08-19 18:03 聂小恶 阅读(109) 评论(0) 推荐(0) 编辑
摘要: //继承 call 原型链+对象冒充方法实现 function Person(name,age){ this.name=name; this.age=age; this.run=function(){ console.log(this.name+' '+this.age); } } Person.prototype.work=function(){ } function Web(name,age) 阅读全文
posted @ 2019-08-19 17:24 聂小恶 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 重点:删除node,彻底删除node再安装nvm 完全卸载node https://www.cnblogs.com/fighxp/p/7410235.html 安装和使用 https://www.jianshu.com/p/d0e0935b150a 阅读全文
posted @ 2019-08-19 17:24 聂小恶 阅读(267) 评论(0) 推荐(0) 编辑
摘要: function Person(name,age){ //构造函数里面的方法和属性 this.name=name; this.age=age; this.run=function(){ console.log(`${this.name}------${this.age}`); } } //原型链上面的属性和方法 原型链上的属性和方法可以... 阅读全文
posted @ 2019-08-19 16:41 聂小恶 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 报错Warning: You tried to redirect to the same route you're currently on: "/index",修改路径时i无法显示页面内容 在需要重定向的组件里添加exact就可解决 解析: <Route>组件有如下属性: path (striin 阅读全文
posted @ 2019-05-07 09:45 聂小恶 阅读(1067) 评论(0) 推荐(0) 编辑
摘要: 配置两个环境变量: 我的电脑——属性——高级系统设置——环境变量——用户变量——path(新建) 1.配置python\python.exe所在的路径 path新建:C:\Users\Python27 (看情况而定,找到自己的路径就可以) 2.配置python\Scripts的文件夹下pip.exe 阅读全文
posted @ 2019-04-29 16:43 聂小恶 阅读(20267) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/mooncom/article/details/52402836 资料库: $.ajaxSetup()方法为将来的ajax请求设置默认值。 http://www.runoob.com/jquery/ajax-ajaxsetup.html 例: $.ajax 阅读全文
posted @ 2019-04-29 10:22 聂小恶 阅读(1800) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页