test范德萨范德萨范德萨
发布于 6 年前 作者 liwwww 2715 次浏览 来自 客户端测试

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

8 回复

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/*’ } });

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/*' } });

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