Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Commit 83b5f56

Browse files
committed
更新
1 parent b647b90 commit 83b5f56

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/java/com/zhazhapan/qiniu/QiniuApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ public static void main(String[] args) {
9595

9696
@Override
9797
public void start(Stage stage) throws Exception {
98+
initZone();
9899
ConfigLoader.loadConfig();
99100
mainWindow.init(stage);
100101
mainWindow.show();
101-
initZone();
102102
}
103103

104104
public void initZone() {

src/main/java/com/zhazhapan/qiniu/controller/MainWindowController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ public void setFiles(List<File> files) {
572572
public void uploadFile() {
573573
if (Checker.isNullOrEmpty(zoneText.getText()) || Checker.isNullOrEmpty(selectedFileTextArea.getText())) {
574574
// 没有选择存储空间或文件,不能上传文件
575-
Dialogs.showWarning(Values.NEED_SCHOOSE_BUCKET_OR_FILE);
575+
Dialogs.showWarning(Values.NEED_CHOOSE_BUCKET_OR_FILE);
576576
return;
577577
}
578578
// 新建一个上传文件的线程

src/main/java/com/zhazhapan/qiniu/modules/constant/Values.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public class Values {
5757

5858
public static final String UPLOADING = "文件上传中,请耐心等待。。。。。。\r\n";
5959

60-
public static final String NEED_SCHOOSE_BUCKET_OR_FILE = "请先选择一个存储空间或文件";
60+
public static final String NEED_CHOOSE_BUCKET_OR_FILE = "请先选择一个存储空间或文件";
6161

6262
public static final String CONFIGING_UPLOAD_ENVIRONMENT = "正在配置文件上传环境,请耐心等待。。。。。。\r\n";
6363

0 commit comments

Comments
 (0)