摘要:        
摘自:https://www.cnblogs.com/fengyuexuan/p/10881955.html 基于vue项目的js工具方法汇总 以下是个人在vue项目的开发过程中经常会用到的一些公共方法,在此进行汇总,方便以后及有需要的朋友查看~ let util = {}; /** * @desc    阅读全文
posted @ 2020-06-02 14:29
Sam Xiao
阅读(35)
评论(0)
推荐(0)
        
            
        
        
摘要:        
js 端生成guid 类库一:https://github.com/uuidjs/uuid npm i uuid --save 类库二:https://github.com/LiosK/UUID.js npm install uuidjs -save js 日期处理 : npm i dayjs --    阅读全文
posted @ 2020-06-02 14:10
Sam Xiao
阅读(567)
评论(0)
推荐(0)
        
            
        
        
摘要:        
添加某个全局变量: globals: { 'ActiveXObject': true },    阅读全文
posted @ 2020-06-02 13:09
Sam Xiao
阅读(548)
评论(0)
推荐(0)
        
            
        
        
摘要:        
function HtmlInclude(url) { var req = false; // Safari, Firefox, 及其他非微软浏览器 if (window.XMLHttpRequest) { try { req = new XMLHttpRequest(); } catch (e)     阅读全文
posted @ 2020-06-02 09:53
Sam Xiao
阅读(5)
评论(0)
推荐(0)
        

浙公网安备 33010602011771号