浏览代码

Test cases

父节点
当前提交
3da1658a04
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4
    1
      Datos.js

+ 4
- 1
Datos.js 查看文件

@@ -298,7 +298,10 @@ DropDownPicker.setListMode("SCROLLVIEW")
298 298
 
299 299
 //data parsing goes here
300 300
 function getInfo(){
301
-	return information
301
+  if(!information)
302
+  {Alert.alert("Please try again later! Error retriving data")}
303
+	else
304
+    {return information}
302 305
 }
303 306
 
304 307
 //data display