更新文件检测
This commit is contained in:
parent
e1c3b5e5a6
commit
467d41ea06
@ -179,7 +179,11 @@ mainForm.btnTest.oncommand = function(id,event){
|
|||||||
|
|
||||||
mainForm.btnFlash.oncommand = function(id,event){
|
mainForm.btnFlash.oncommand = function(id,event){
|
||||||
if(io.exist(mainForm.edFile.text) == null){
|
if(io.exist(mainForm.edFile.text) == null){
|
||||||
Display("请打开文件");
|
Display("请打开烧写文件");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(io.exist(mainForm.edFile2.text) == null){
|
||||||
|
Display("请打开flashdriver文件");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(flag_connected == 0){
|
if(flag_connected == 0){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user