摘要: 一、qs.js(更好的处理url参数) https://github.com/ljharb/qs 引入指令:npm install qs --save 1)qs.stringify 则和 qs.parse 相反,是把一个参数对象格式化为一个字符串。 let params = { c: 'z', a: 阅读全文
posted @ 2020-03-11 13:23 智走 阅读(1336) 评论(0) 推荐(0)
摘要: 一、使用babel-plugin-transform-remove-console插件 1 cnpm install babel-plugin-transform-remove-console --save-dev 二、在babel.consig.js中配置 const plugins = ["@v 阅读全文
posted @ 2020-03-11 10:54 智走 阅读(1466) 评论(0) 推荐(0)