随笔分类 -  Js

如何开始一个vue +element-ui 项目
摘要:npm install --registry=https://registry.npm.taobao.org 1、通过cnpm使用npm install -g cnpm --registry=https://registry.npm.taobao.org配置淘宝安装镜像 加快速度 2、全局安装 下载 阅读全文
posted @ 2020-04-20 09:55 苏上话 阅读(718) 评论(1) 推荐(0)
NodeJs npm webpack
摘要:背景介绍 什么是npm? npm(node package manager)是nodejs的包管理器,用于node插件管理(包括安装、卸载、管理依赖等), NPM是随同NodeJS一起安装的包管理工具,能解决NodeJS代码部署上的很多问题,它是 Node 获得成功的重要原因之一。常见的使用场景有以 阅读全文
posted @ 2020-04-09 10:21 苏上话 阅读(457) 评论(0) 推荐(0)
正则表达式
摘要:手册地址 http://tool.oschina.net/uploads/apidocs/jquery/regexp.html 在线测试地址 https://www.sojson.com/regex/ 1、匹配所有 全部字符 ([\s\S]*) 阅读全文
posted @ 2019-06-28 10:42 苏上话 阅读(158) 评论(0) 推荐(0)
js 获取mac地址
摘要:js 获取mac地址 阅读全文
posted @ 2016-04-14 13:52 苏上话 阅读(26230) 评论(5) 推荐(0)
jquery easyui
摘要://中文官网http://www.jeasyui.net///英文官网http://www.jeasyui.com/ 阅读全文
posted @ 2016-01-11 18:00 苏上话 阅读(104) 评论(0) 推荐(0)
Jq 遍历 全选 全不选 反选
摘要:Jq 遍历 全选 全不选 反选 阅读全文
posted @ 2015-11-19 10:51 苏上话 阅读(901) 评论(0) 推荐(1)
Js 的prototype
摘要:javascript的方法可以分为三类:a 类方法b 对象方法c 原型方法javascript中的每个对象都有prototype属性,Javascript中对象的prototype属性的解释是:返回对象类型原型的引用。function People(name){ this.name=name; ... 阅读全文
posted @ 2014-10-29 12:36 苏上话 阅读(168) 评论(0) 推荐(0)
ajax 传值 中文乱码问题
摘要:使用encodeURI编码内容 var Path = encodeURI("中文.xls"); url: "ashx/Data.ashx?Path =" + Path, 阅读全文
posted @ 2014-10-28 17:12 苏上话 阅读(265) 评论(0) 推荐(0)
Js 日期处理
摘要:Js获取当前日期时间var myDate = new Date();myDate.getFullYear();//获取完整的年份(4位,1970-????) 2014myDate.getMonth();//获取当前月份(0-11,0代表1月) 9myDate.getDate();//获取当前日(1-... 阅读全文
posted @ 2014-10-24 17:48 苏上话 阅读(272) 评论(0) 推荐(0)