指针

Results 2 comments of 指针

I have a solution, hope it can help you: **1. classify function accepts ImageData type, we can convert blob to ImageData.** ``` let blobToImageData = (blob: File): Promise => {...

不知道你是否和我同样的问题,我是在img外面又包了一层div,所以在index.js中,获取this.children会发生错误,作者是直接在img上做的循环,所以如果你在外面包了div,正确的获取this.children的方法应该是var children = parent.parentElement.children; this.children = toArray(children);