我有以下内容:
var uploadView = new google.picker.DocsUploadView().setIncludeFolders(true);
var picker = new google.picker.PickerBuilder().
addView(uploadView).
setOAuthToken(oauthToken).
setDeveloperKey(googleDeveloperKey).
setCallback(uploadPickerCallback).
build();
picker.setVisible(true);
在此过程中,它不会询问目的地,它只是上传到根目录,并在文件上传完成后关闭对话框。