会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
奇迹般若果
博客园
首页
新随笔
联系
管理
订阅
1
2
3
4
5
下一页
2023年3月27日
ppt免费模板
摘要: #【PPT模板】PPT美化PPT设计 分类 现成可选 1、毕业答辩(160种可选) 2、扁平风格(79种可选) 3、产品发布(20种可选) 4、创意风格(60种可选) 5、个人简历(67种可选) 6、工作汇报(101种可选) 7、精品系列(69种可选) 8、年会颁奖(115种可选) 9、年终总结(7
阅读全文
posted @ 2023-03-27 16:15 奇迹般若果
阅读(108)
评论(1)
推荐(0)
2022年10月8日
base64与中文字符串互转
摘要: 实现代码如下 // 字符串转base64 getEncode64(str){ return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, function toSolidBytes(match, p1) { return String
阅读全文
posted @ 2022-10-08 10:58 奇迹般若果
阅读(889)
评论(0)
推荐(0)
2022年7月29日
vue项目搭建步骤
摘要: 一、安装node环境 这个之前做angular项目安装过,暂时先不整理,整理好vue相关知识再整理。 二、搭建vue项目环境 1、全局安装vue-cli npm install --global vue-cli 不知道是不是网络问题,我使用上面命令安装失败,所以换成了下面命令,使用yarn安装 ya
阅读全文
posted @ 2022-07-29 09:40 奇迹般若果
阅读(466)
评论(0)
推荐(0)
2022年7月1日
uniapp相关
摘要: 1、uniapp官网 网址:https://uniapp.dcloud.net.cn/ 2、引入组件库 网址:https://www.uviewui.com/ 3、问题如下 (1)使用SwipeAction 滑动单元格后,在滑动单元格上无法上下滑动 解决方法:自己写,代码如下 <template>
阅读全文
posted @ 2022-07-01 14:47 奇迹般若果
阅读(85)
评论(0)
推荐(0)
2022年2月23日
angular请求头部加XSRF-TOKEN
摘要: 1、创建拦截器 import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest, } from '@angular/common/http'; import { Observable } from 'rxjs'; export class
阅读全文
posted @ 2022-02-23 14:53 奇迹般若果
阅读(451)
评论(0)
推荐(0)
2021年10月11日
AES加密
摘要: npm install crypto-js (项目中版本:^4.1.1) import { Injectable } from '@angular/core'; import { AES, enc, mode, pad } from 'crypto-js'; @Injectable() export
阅读全文
posted @ 2021-10-11 13:58 奇迹般若果
阅读(74)
评论(0)
推荐(0)
2021年6月29日
base64格式上传图片方法
摘要: function dataURItoBlob(dataURI) { const byteString = atob(dataURI.split(',')[1]); const mimeString = dataURI.split(',')[0].split(':')[1].split(';')[0]
阅读全文
posted @ 2021-06-29 16:25 奇迹般若果
阅读(878)
评论(0)
推荐(0)
2021年1月4日
angular-gridster2使用
摘要: 1、安装:npm install angular-gridster2 --save 2、引入 3、html代码 <div id="fullscreen" style="position:relative;padding-top:20px;background: #fff;" > <em class=
阅读全文
posted @ 2021-01-04 14:13 奇迹般若果
阅读(1803)
评论(0)
推荐(0)
2020年9月18日
angular项目语言切换功能
摘要: 1、NzI18nService服务 参考:https://ng.ant.design/docs/i18n/zh 2、ngx-translate插件 1)安装依赖 npm install @ngx-translate/core --save npm install @ngx-translate/htt
阅读全文
posted @ 2020-09-18 15:22 奇迹般若果
阅读(659)
评论(0)
推荐(0)
2020年9月8日
解决IOS上传竖向照片会旋转90度的问题
摘要: // 解决IOS上传竖向照片会旋转90度的问题 rotate() { const that = this; that.imgOrientation = 1; let Orientation = null; const _filelist = $('#showImg')[0].files[0]; $(
阅读全文
posted @ 2020-09-08 14:14 奇迹般若果
阅读(425)
评论(0)
推荐(0)
1
2
3
4
5
下一页
公告