![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JavaScript笔记
weixin_43061221
这个作者很懒,什么都没留下…
展开
-
js 前端分页
js 前端分页处理 /** * @description 前端分页 * @author * @param {Number} pageNo 页码 * @param {Number} pageSize 页大小 * @param {Array} array 分页数据源 */ const pagination = (pageNo, pageSize,array)=>{ var offset = (pageNo -1原创 2021-10-15 14:08:24 · 185 阅读 · 0 评论 -
js架构
JS架构1.本身和引用了才能调用2.只有本身可以调用3.需要JS开放才能调用4.本身和引用了才能调用(采用seajs加载)5.跟随页面(采用seajs加载)6.开放才能调用(采用seajs加载) 1.本身和引用了才能调用 var CommentMenthod; if(!CommentMenthod){ CommentMenthod={}; } CommentMenthod={ changeIPMode:function(iType) { alert(iType); } } $(function()原创 2021-01-05 14:58:07 · 176 阅读 · 1 评论