会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
Loading
灰色的修饰
首页
新随笔
联系
订阅
管理
上一页
1
2
2021年1月1日
TypeScript使用详解
摘要: Typescript使用 什么是TypeScript? TypeScript是微软公司2009年发布的一个开源的JavaScript超集语言,它的设计者是C#语言之父安德斯·海尔斯伯格。 JavaScript超集:当前任何JavaScript都是合法的TypeScript代码。 TypeScript
阅读全文
posted @ 2021-01-01 11:09 灰色的修饰
阅读(782)
评论(0)
推荐(0)
2020年12月31日
从URL获取参数
摘要: function getURLParam() { const url = location.search; const param: any = {}; if (url.indexOf('?') != -1) { const str = url.substr(1); const strs = str
阅读全文
posted @ 2020-12-31 15:19 灰色的修饰
阅读(123)
评论(0)
推荐(0)
2020年12月1日
http请求头Content-Disposition字段
摘要: 在常规的 HTTP 应答中,Content-Disposition 响应头指示回复的内容该以何种形式展示,是以内联的形式(即网页或者页面的一部分),还是以附件的形式下载并保存到本地。 在 multipart/form-data 类型的应答消息体中,Content-Disposition 消息头可以被
阅读全文
posted @ 2020-12-01 14:17 灰色的修饰
阅读(1756)
评论(0)
推荐(0)
2020年11月25日
腾讯云cos对象存储使用方法
摘要: 相关文档 零时密钥生成指引:https://cloud.tencent.com/document/product/436/14048 node.js SDK文档:https://cloud.tencent.com/document/product/436/8629 javascript SDK文档:
阅读全文
posted @ 2020-11-25 00:17 灰色的修饰
阅读(1430)
评论(0)
推荐(0)
2020年11月24日
jsonwebtoken使用方法
摘要: const jtw = require('jsonwebtoken') // 用于加解密的密钥 const secretkey = 'my_token' // 生成token // 接收三个参数: // 第一个是载荷,用于编码后存储在 token 中的数据,也是验证 token 后可以拿到的数据;
阅读全文
posted @ 2020-11-24 23:41 灰色的修饰
阅读(1399)
评论(0)
推荐(0)
上一页
1
2