摘要:
库:ExcelJS ,FileSaver.js https://github.com/exceljs/exceljs/blob/master/README_zh.md https://github.com/eligrey/FileSaver.js 安装: npm install exceljs np 阅读全文
摘要:
Redmin地址:https://bitnami.com/stack/redmine/installer redmin的admin用户忘记密码的方法; 就是 hashed_password 设置成 353e8061f2befecb6818ba0c034c632fb0bcae1b ,另外把salt 清 阅读全文
摘要:
1 npm install --save xlsx 2 npm install --save xlsx-style //如果需要修改样式,则需要安装 1.解决引入xlsx-style报错问题 2.找到:node_modules\xlsx-style\dist\xlsx.full.min.js 并把这 阅读全文
摘要:
1.只能选择当前及以后的日期 <el-date-picker v-model="value1" type="date" :picker-options="pickerOptions"> </el-date-picker> data() { return { pickerOptions: { disa 阅读全文
摘要:
v-model的修饰符 v-model.lazy 只有在input输入框发生一个blur时才触发 v-model.trim 将用户输入的前后的空格去掉 v-model.number 将用户输入的字符串转换成number 在input textarea select中使用 <input type="t 阅读全文
摘要:
JavaScript中的剩余参数是指函数定义时以...为前缀的参数,这个参数是一个没有对应形参的实参组成的一个数组,a56爆大奖在线娱乐它与arguments有一定的区别,剩余参数中可以使用push、map等数组方法function num(a,b,...arg){ console.log(arg); arg.pu 阅读全文
摘要:
mixin定义(使用@mixin定义): @mixin hexagon-generator($hexagon-width, $factor, $border-radius){ display: inline-block; border-radius: 50%; width: ($hexagon-wi 阅读全文
摘要:
原文地址: https://juejin.im/post/5dccdd24f265da0c09156fb3 1、是否合法IP地址 export function validateIP(rule, value,callback) { if(value==''||value==undefined||va 阅读全文
摘要:
export和import共用了导致不兼容引起的 npm install babel-plugin-transform-es2015-modules-commonjs 在.babelrc中配置 { "presets": [ ["env", { "modules": false }], "stage- 阅读全文
摘要:
1.npm init 创建一个node的包文件 2.npm install webpack webpack-cli -g 全局安装不推荐 3.npx webpakc -v 查看webpack的版本号 npx 实在当前项目的node_modules里面查找,npm 是在全局查找 4.npm info 阅读全文