移动医嘱开发过程中的TIPS

2018-07-09  本文已影响0人  环零弦

1. 服务端报 413 错误
node.js 的express服务器报 413 payload too large
修改做法:
app.use(bodyParser.json({limit: '5mb'}));

2. 将 dataURL 写文件
blob转base64位 base64位转blob
How to create an image file from a base64 string on the device with Cordova

3. css3新单位vw、vh、vmin、vmax的使用详解
css3新单位vw、vh、vmin、vmax的使用详解

4. Angular 样式绑定
Class And Style Bindings In Angular 2 - Part Eight
Style Binding & NgStyle in Angular 2
Angular 2 NgStyle and Style Binding Example

5. Angular 中文件上传(没有用到)
File Upload In Angular?

其它参考资料

上一篇 下一篇

猜你喜欢

热点阅读