
前端
可爱的丹丘
认真是一种态度
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
将date转为指定格式的字符串
/** * 将date转为指定格式的字符串 * var time = new Date().format("yyyy-MM-dd"); */ Date.prototype.format = function(fmt) { var o = { "M+" : this.getMonth() + 1, //月份 "d+" : this.getDate()...转载 2018-04-24 17:00:56 · 2946 阅读 · 0 评论 -
ztree学习
一、导入 api官网:http://www.treejs.cn/v3/api.php <link rel="stylesheet" type="text/css" href="${ctx}/static/ztree/css/zTreeStyle/zTreeStyle.css"> <script type="text/javascript" src="${ctx}/s原创 2018-04-25 15:46:19 · 291 阅读 · 0 评论 -
renren-fast-vue-master前端启动失败
当启动服务后,页面出现下面问题时,是由【未能正常安装依赖】引起! 解决方法:请查阅 https://github.com/daxiongYang/renren-fast-vue 开发阶段描述。转载 2019-06-12 14:12:37 · 2299 阅读 · 0 评论 -
jqGrid笔记
jqGrid笔记 api网站链接:https://blog.mn886.net/jqGrid/ 1. get 1.1 获取所有数据 $("#jqGrid").getRowData(); 1.2 获取所有id var ids = $('#jqGrid').getDataIDs(); 1.3 获取第一行 var rowData = $("#jqGrid").getRowData(ids[0]); ...原创 2019-08-26 15:41:15 · 620 阅读 · 0 评论