test范德萨范德萨范德萨
 发布于 7 年前  作者 liwwww  3443 次预览  最后一次回复是 7 年前  来自 客户端测试 

发大水范德萨范德萨范德萨范德萨范德萨发

8 回复
liwwww

this.uploader = WebUploader.create({ swf: ‘/public/libs/webuploader/Uploader.swf’, server: ‘/upload?_csrf=’ + _csrf, pick: this.$uploadBtn[0], paste: document.body, dnd: this.$upload[0], auto: true, fileSingleSizeLimit: 2 * 1024 * 1024, //sendAsBinary: true, // 只允许选择图片文件。 accept: { title: ‘Images’, extensions: ‘gif,jpg,jpeg,bmp,png’, mimeTypes: ‘image/*’ } });

liwwww

javascript this.uploader = WebUploader.create({ swf: '/public/libs/webuploader/Uploader.swf', server: '/upload?_csrf=' + _csrf, pick: this.$uploadBtn[0], paste: document.body, dnd: this.$upload[0], auto: true, fileSingleSizeLimit: 2 * 1024 * 1024, //sendAsBinary: true, // 只允许选择图片文件。 accept: { title: 'Images', extensions: 'gif,jpg,jpeg,bmp,png', mimeTypes: 'image/*' } });

liwwww
public void startThreadUseRunnalbe() {
Thread thread = new Thread(new Runnable() {
public void run() {
System.out.println("start thread using runnable");
}
});
thread.start();
}