2022年10月26日
摘要: 第一步:先清空本地安装的node.js版本 windows11 完全删除node.js 1.清空本地缓存 打开cmd命令行窗口,输入npm cache clean --force 回车执行 2.卸载程序 打开控制面板,在控制面板中找到“应用然后搜索node”把Node.js卸载 3.删除目录 从下列 阅读全文
posted @ 2022-10-26 18:57 陌生人! 阅读(330) 评论(0) 推荐(0) 编辑
  2022年3月23日
摘要: let list = [{ key: '', val: '' }, { key: '1', val: '1' }, { key: '1', val: '' }, { key: '1' }, { key: '2', val: '2' }] list.filter(item => !Object.val 阅读全文
posted @ 2022-03-23 16:39 陌生人! 阅读(294) 评论(0) 推荐(0) 编辑
  2021年8月31日
摘要: 安装包 npm install --save qrcodejs2 npm install --save html2canvas HTML <div class="scan"> <div ref="imageDom" class="qrBox" v-if="isQRCode"> <img class= 阅读全文
posted @ 2021-08-31 18:12 陌生人! 阅读(335) 评论(0) 推荐(0) 编辑
  2021年8月24日
摘要: this.newArr.push(...that.selectedMergePackListThree1) // 去重 const id = 'id' const r = that.newArr.reduce((all, next) => all.some((atom) => atom[id] == 阅读全文
posted @ 2021-08-24 18:40 陌生人! 阅读(42) 评论(0) 推荐(0) 编辑
  2021年1月18日
摘要: increase-memory-limit 阅读全文
posted @ 2021-01-18 15:08 陌生人! 阅读(135) 评论(0) 推荐(0) 编辑
  2020年8月5日
摘要: <div class="invoice-list"> <!-- 表头的值,自己单独写的 --> <ul class="invoice-header"> <li class="invoice-item">发票号</li> <li class="invoice-item">订单号</li> <li cl 阅读全文
posted @ 2020-08-05 09:48 陌生人! 阅读(947) 评论(0) 推荐(0) 编辑
  2019年5月9日
摘要: <el-button @click.native.prevent="login" @keyup.enter="login" type="primary">登录</el-button> 登录功能带验证码的例子:https://www.jianshu.com/p/99c6e2f3e457 https:/ 阅读全文
posted @ 2019-05-09 17:13 陌生人! 阅读(762) 评论(0) 推荐(0) 编辑
  2019年1月24日
摘要: forEach() map()— —更新数组 filter()、includes()、find()、findIndex()— —筛选(删除)数组 some()、every()— —判断数组 reduce()— —叠加数组 arr.forEach() 遍历数组全部元素,利用回调函数对数组进行操作,自动 阅读全文
posted @ 2019-01-24 17:55 陌生人! 阅读(678) 评论(0) 推荐(0) 编辑
  2018年12月27日
摘要: rules: { // allow async-await 'generator-star-spacing': 'off', 'no-debugger': 'off', // 四个空格缩进 'indent': ['error', 4, {'SwitchCase': 1}], // 使用let, co 阅读全文
posted @ 2018-12-27 10:19 陌生人! 阅读(1362) 评论(0) 推荐(0) 编辑
  2018年10月19日
摘要: HTML: <div v-for="(i,index) in mydata" :key="index">{{countDownList[index].day}}天{{countDownList[index].hou}}时{{countDownList[index].min}}分{{countDown 阅读全文
posted @ 2018-10-19 18:53 陌生人! 阅读(1636) 评论(4) 推荐(1) 编辑