上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: vue的数据双向绑定的小例子: 。html index.js observer.js watcher.js 原理:当new vue后,将data属性直接给vm添加上,将属性的每一级进行set get 当set新值时通知notify函数。执行 new watcher ,强制执行data的get 使wa 阅读全文
posted @ 2019-02-20 18:18 仔行天下 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Object的属性 阅读全文
posted @ 2019-02-19 14:20 仔行天下 阅读(541) 评论(0) 推荐(0) 编辑
摘要: Object.prototype.toString.call(asddfff) //报错asddfff没被定义Object.prototype.toString.call(undefined) //"[object Undefined]"Object.prototype.toString.call( 阅读全文
posted @ 2019-02-18 16:22 仔行天下 阅读(155) 评论(0) 推荐(0) 编辑
摘要: node的http创建服务与利用Express框架有何不同 略。 阅读全文
posted @ 2019-02-15 18:26 仔行天下 阅读(1988) 评论(0) 推荐(0) 编辑
摘要: npm包上传下载的命令及例子。 略。 阅读全文
posted @ 2019-02-15 18:22 仔行天下 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 一,安装python 官网下载地址:https://www.python.org/downloads/windows/ 我下载的是最新的: Download Windows x86 web-based installer 自定义安装到:F:\software\python3.7.2 配置环境变量,随 阅读全文
posted @ 2019-01-22 22:24 仔行天下 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 浏览器的同源策略是浏览器上为安全性考虑实施的非常重要的安全策略。从一个域上加载的脚本不允许访问另外一个域的文档属性。举个例子:比如一个恶意网站的页面通过iframe嵌入了银行的登录页面(二者不同源),如果没有同源限制,恶意网页上的javascript脚本就可以在用户登录银行的时候获取用户名和密码。何 阅读全文
posted @ 2019-01-10 18:13 仔行天下 阅读(4004) 评论(0) 推荐(0) 编辑
摘要: Vue-router 中hash模式和history模式的关系在vue的路由配置中有mode选项 最直观的区别就是在url中 hash 带了一个很丑的 # 而history是没有#的mode:"hash"; mode:"history"; hash模式和history模式的不同对于vue这类渐进式前 阅读全文
posted @ 2019-01-10 13:08 仔行天下 阅读(3273) 评论(0) 推荐(2) 编辑
摘要: 测试阶段: <script src="https://github.com/Tencent/vConsole/blob/dev/dist/vconsole.min.js"></script> <script> var vConsole = new VConsole(); </script> 参考博客 阅读全文
posted @ 2019-01-04 15:24 仔行天下 阅读(3111) 评论(0) 推荐(0) 编辑
摘要: [Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render fun 阅读全文
posted @ 2018-12-14 13:35 仔行天下 阅读(677) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页