Welcome to Qi-U Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
372 views
in Technique[技术] by (71.8m points)

web-uploader beforeFileQueued 方法使用?

官方文档:
image.png

代码:
image.png

实际结果:
image.png

期望结果:

在开始上传前进行一些校验,再决定是否上传
不添加到队列中,即不会打印 fldfjlda.....

问题:

为什么 return false 了,但还是走了上传的方法?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to answer this question.

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Qi-U Community for programmer and developer-Open, Learning and Share
...