mirror of
https://github.com/netfun2000/rttys_zhaojh329.git
synced 2026-02-27 09:53:24 +08:00
fix: ui: A abnormity caused by click 'OK' when no file selected.
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
@@ -126,6 +126,11 @@ export default {
|
||||
fr.readAsArrayBuffer(blob);
|
||||
},
|
||||
doUploadFile() {
|
||||
if (!this.file.file) {
|
||||
this.onUploadDialogClosed();
|
||||
return;
|
||||
}
|
||||
|
||||
this.term.focus();
|
||||
|
||||
if (this.file.size > 0xffffffff) {
|
||||
|
||||
Reference in New Issue
Block a user