BestError

Results comments of BestError

dont't use this ! express-ws is shit!

@adwerrd 淘宝出的也有chart工具,不会搞事情把

js怎么改,直接拿的官方例子

我也想用这个组件,一堆问题。。。

@welefen Content-Type是对的,在Action中通过this.ctx.request.body.file,能取到file的信息(下图2,我把file直接返回),但是官网文档的this.file('image')是取不到的,this.ctx.request.body.file下一步取file.path或者file.name之类的,也什么都取不到了。 官网的文档虽然默认返回了OK但是也没有实际写入文件,网上的例子也无效,会报错取不到(下图3,图4)直接500 ![qq 20180717104716](https://user-images.githubusercontent.com/5633780/42793886-cbca0cc2-89ae-11e8-9116-32564807611b.png) ![qq 20180717104928](https://user-images.githubusercontent.com/5633780/42793958-1c8c8ebe-89af-11e8-995e-d754bb783a1a.png)

![qq 20180717111001](https://user-images.githubusercontent.com/5633780/42794553-f8f91b9a-89b1-11e8-9bcf-7a9f1ef2e5de.png) ![777](https://user-images.githubusercontent.com/5633780/42794557-fc175e7c-89b1-11e8-99a4-c5b3701ef11b.png) ### **我是windows上弄的,是不是和系统有关系???**

至于临时目录,也不会写入实际文件,配置了payload的options,也没用

@welefen 我回去了试试,那通过request.body.file取到的是什么???