会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
面包_girl
记录各种小技能,知识点:https://huangmin1992.github.io/myBlog
博客园
首页
新随笔
联系
订阅
管理
2022年1月17日
ionic6-踩坑记录
摘要: 1.ionic/vue 路由跳转问题:地址改变,但是不跳转 原因:在跳转路由组件中存在调用ionic组件,未在components中引入,控制台报warn,这是,通过router.push或者其他跳转都不成功 解决方案:在components中引入用到的组件 // test.vue <templat
阅读全文
posted @ 2022-01-17 11:43 面包_girl
阅读(354)
评论(0)
推荐(0)
2021年12月7日
vue axios - CancelToken
摘要: CancelToken:取消上一个路由未响应的接口 1.新建一个CancelToken.js,定义一个全局变量 export default class CancelToken { static cancelRequest = { // static类型不用实例化,可直接调用 source: { t
阅读全文
posted @ 2021-12-07 11:16 面包_girl
阅读(393)
评论(0)
推荐(0)
2021年11月19日
js判断浏览器,包括Edge浏览器
摘要: /** 描述:判断浏览器信息* 编写:LittleQiang_w* 日期:2016.1.5* 版本:V1.1*/ //判断当前浏览类型function BrowserType(){undefinedvar userAgent = navigator.userAgent; //取得浏览器的userAg
阅读全文
posted @ 2021-11-19 09:10 面包_girl
阅读(759)
评论(0)
推荐(0)
2021年11月13日
vue中的防抖与节流,minxin
摘要: 参考文档: https://www.jb51.net/article/161713.htm 或者 // 防抖 const debounce = (func, wait, immediate) => { let timeOut; return function () { const context =
阅读全文
posted @ 2021-11-13 11:52 面包_girl
阅读(91)
评论(0)
推荐(0)
2021年9月14日
crypto-js 3DES 加密解密
摘要: // 3des解密 export const decrypt = (params: any) => { const pubKey = localStorage.getItem('server_key'); if (pubKey == null) { throw new Error('missing
阅读全文
posted @ 2021-09-14 17:11 面包_girl
阅读(843)
评论(0)
推荐(0)
2021年7月15日
ngx-infinite-scroll angular无限滚动插件
摘要: 参考地址:https://www.5axxw.com/wiki/content/3b2zj4 引入: 使用:
阅读全文
posted @ 2021-07-15 17:01 面包_girl
阅读(261)
评论(0)
推荐(0)
2021年7月6日
angular引入UEditor
摘要: 1.首先引入静态资源 2.在app.module.ts中引入 3.在页面中使用
阅读全文
posted @ 2021-07-06 14:49 面包_girl
阅读(87)
评论(0)
推荐(0)
spark-MD5文件MD5加密
摘要: npm地址:https://www.npmjs.com/package/spark-md5 //生成MD5 md5Count() { let blobSlice = File.prototype.slice, file = this.importFormData.File, // file chun
阅读全文
posted @ 2021-07-06 14:41 面包_girl
阅读(3182)
评论(0)
推荐(0)
2021年5月27日
js数组切片
摘要: const arrChunk = (arr,size) =>{ if(arr.length 0){ return []; } const tempArr = []; const chunkLen = Math.ceil(arr.length / size); let last = 0; for(le
阅读全文
posted @ 2021-05-27 14:36 面包_girl
阅读(1190)
评论(0)
推荐(0)
2021年5月13日
Window.postMessage() 解决父页面与iframe之间跨域通信问题,实时获取iframe消息动态
摘要: 有个需求是:监听iframe窗体中,15分钟内未操作,界面弹出功能。 Window.postMessage() MAN中有详解:https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage targetWindow.postM
阅读全文
posted @ 2021-05-13 14:09 面包_girl
阅读(947)
评论(0)
推荐(0)
下一页
公告
/* 鼠标点击文字特效 */