摘要: el.contains(otherNode),判断是否包含某个元素 阅读全文
posted @ 2018-06-27 15:42 webstrom10 阅读(184) 评论(0) 推荐(0) 编辑
摘要: (二十八)Slot分发内容 ①概述: 简单来说,假如父组件需要在子组件内放一些DOM,那么这些DOM是显示、不显示、在哪个地方显示、如何显示,就是slot分发负责的活。 ②默认情况下 父组件在子组件内套的内容,是不显示的。 例如代码: [html] view plain copy <div id=" 阅读全文
posted @ 2018-06-26 14:47 webstrom10 阅读(263) 评论(0) 推荐(0) 编辑
摘要: vue-cli命令行 1.npm install -g vue-cli 2.vue init webpack my-project 3.cd my project 4.npm install 5.npm run dev 关于vuejs-templates,https://vuejs-template 阅读全文
posted @ 2018-05-13 00:13 webstrom10 阅读(124) 评论(0) 推荐(0) 编辑
摘要: https://github.com/doodlewind/vue-cmap 阅读全文
posted @ 2018-05-12 15:30 webstrom10 阅读(103) 评论(0) 推荐(0) 编辑
摘要: c4b59401da6220dea948bf957069c80e31a9c972 阅读全文
posted @ 2018-04-26 15:25 webstrom10 阅读(111) 评论(0) 推荐(0) 编辑
摘要: https://www.webucator.com/ 计算客https://www.jisuanke.com/ 阅读全文
posted @ 2018-04-13 11:25 webstrom10 阅读(103) 评论(0) 推荐(0) 编辑
摘要: function isUserLogin() { var isLogin = false; $.ajax({ type:"POST", url:domain+"/isuserlogin.html", async : false, success:function(data){ if(data.suc 阅读全文
posted @ 2018-04-11 18:05 webstrom10 阅读(144) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> var memberId = 0; <#if Session.memberSession??> <#assign user = Session.memberSession.member> <#if user??> memberId = 阅读全文
posted @ 2018-04-11 17:39 webstrom10 阅读(150) 评论(0) 推荐(0) 编辑
摘要: //files的预览 getObjectURL(file) { var url = null; if (window.createObjectURL != undefined) { // basic url = window.createObjectURL(file); } else if (win 阅读全文
posted @ 2018-04-11 16:06 webstrom10 阅读(93) 评论(0) 推荐(0) 编辑
摘要: Fengdongxing 密码abc19860720 或者 github 账号fengdongxing 密码abc19860720 阅读全文
posted @ 2018-03-07 23:36 webstrom10 阅读(176) 评论(0) 推荐(0) 编辑