摘要: export function ensureAppTimeouts(timeouts = {}) { return { ...DEFAULT_TIMEOUTS, ...timeouts } return Object.assign({},DEFAULT_TIMEOUTS,timeouts) } 阅读全文
posted @ 2020-06-05 22:03 TTtttt5 阅读(787) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/haodawang/article/details/77199980 阅读全文
posted @ 2020-06-05 18:21 TTtttt5 阅读(91) 评论(0) 推荐(0) 编辑
摘要: export function registerApplication(loadFunction) { if (typeof loadFunction !== "function") { loadFunction = () => Promise.resolve(loadFunction); } } 阅读全文
posted @ 2020-06-05 18:11 TTtttt5 阅读(134) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/jiasm/p/9482443.html 阅读全文
posted @ 2020-06-05 15:21 TTtttt5 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 因为ssr只有 beforecreate和create,所以用create 阅读全文
posted @ 2020-06-05 12:29 TTtttt5 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 可以看到文件自带的属性有个slice切片功能 //下载功能 let str='xxxx' const blob =new Blob([str],{ type:'text/html' }) const a = document.createElement('a') a.setAttribute('do 阅读全文
posted @ 2020-06-05 09:58 TTtttt5 阅读(593) 评论(0) 推荐(0) 编辑
摘要: 1 前端方法一用formData: node端写法 formdata的 前端方法2用base64 就是处理成发送请求拼接后面的 xxx=xxxx&xxx=xxx 对应后端 3.大文件上传 对应后台 4。设置进度条 5.也可以用ajax的progress,去实时更新速度 阅读全文
posted @ 2020-06-05 09:01 TTtttt5 阅读(153) 评论(0) 推荐(0) 编辑