上一页 1 2 3 4 5 6 7 8 ··· 20 下一页
  2022年4月27日
摘要: <div class="txt"> <div class="txt_t">跳过</div> <div class="txt_t" style="margin-left: .13rem;">5s</div></div>css: .txt{ display: flex; align-items: bas 阅读全文
posted @ 2022-04-27 13:48 仔仔爱学习 阅读(277) 评论(0) 推荐(0)
  2022年4月1日
摘要: npm install -g mirror-config-china --registry=http://registry.npm.taobao.org npm install node-sass npm install 转自:https://blog.csdn.net/dandan666danda 阅读全文
posted @ 2022-04-01 09:05 仔仔爱学习 阅读(62) 评论(0) 推荐(0)
  2022年3月10日
摘要: 封装的组件custom-table.vue <Table :loading="loading" :columns="columns" :data="data"> <template v-for="column in columns" :slot="column.slot?column.slot:'' 阅读全文
posted @ 2022-03-10 11:10 仔仔爱学习 阅读(286) 评论(0) 推荐(0)
  2022年3月2日
摘要: 差集:arr1.filter(item=>!arr2.some(ele=>ele.uid item.uid)) 交集:arr1.filter(item=>arr2.some(ele=>ele.uid item.uid)) 阅读全文
posted @ 2022-03-02 10:07 仔仔爱学习 阅读(213) 评论(0) 推荐(0)
  2022年2月18日
摘要: 本地nodejs和npm版本过高,无法正常使用npm下载低npm版本项目所需依赖,不降级解决办法 这里需要使用到cnpm: 1.导入下载好到的项目 2.安装cnpm: npm install cnpm -g 3.安装 node-sass: cnpm install node-sass 4.继续安装: 阅读全文
posted @ 2022-02-18 11:01 仔仔爱学习 阅读(1683) 评论(0) 推荐(1)
  2022年1月28日
摘要: 主要代码 var link = document.querySelector("link[rel*='icon']") || document.createElement('link');link.type = 'image/x-icon';link.rel = 'shortcut icon';li 阅读全文
posted @ 2022-01-28 09:39 仔仔爱学习 阅读(442) 评论(0) 推荐(0)
  2022年1月26日
摘要: <script> document.body.style.setProperty('--main-color', '#0f0');</script> .box{ width: 100px; height: 100px; background: var(--main-color);}转自:https: 阅读全文
posted @ 2022-01-26 17:33 仔仔爱学习 阅读(34) 评论(0) 推荐(0)
  2022年1月20日
摘要: // 自动化引入模块组件 const path = require('path') const files = require.context('@/components/common/modules', false, /\.vue$/) const modules = {} files.keys( 阅读全文
posted @ 2022-01-20 14:25 仔仔爱学习 阅读(299) 评论(0) 推荐(0)
  2022年1月13日
摘要: <script> let arr = [2,1,3,5,4]; arr= arr.sort((n1,n2)=>{ // return -1; //返回负值 交换顺序 // return 0 或者 1 //返回正值 保持顺序不变 console.log(n1,n2); return n2-n1; // 阅读全文
posted @ 2022-01-13 14:29 仔仔爱学习 阅读(1756) 评论(0) 推荐(0)
  2022年1月11日
摘要: 1、es6的写法/** * 获取 blob * @param {String} url 目标文件地址 * @return {Promise} */ function getBlob(url) { return new Promise(resolve => { const xhr = new XMLH 阅读全文
posted @ 2022-01-11 10:38 仔仔爱学习 阅读(745) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 20 下一页