- 博客(5)
- 收藏
- 关注
原创 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
240
原创 C#简单记录日志
C#简单记录日志 public void WriteLog(string msg,) { string filePath = AppDomain.CurrentDomain.BaseDirectory + "Log"; if (!Directory.Exists(filePath)) { Directory.CreateDirectory(filePath);
2021-08-12 09:34:28
252
原创 vue-i18n告警处理
vue-i18n告警处理在浏览器控制台中出现处理办法在浏览器控制台中出现You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.处理办法在vue
2021-07-07 11:39:46
1768
原创 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
317
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人