|
@@ -25,8 +25,10 @@ export default class Tap_set_Ann extends ViewObject {
|
|
|
this.main.stopLoad();
|
|
|
if(state == HttpStateType.SUCCESS){
|
|
|
let data = JSON.parse(reve.data)
|
|
|
- this.mTitle.string = data.title;
|
|
|
- this.mContent.string = data.content
|
|
|
+ if(data && data.title){
|
|
|
+ this.mTitle.string = data.title;
|
|
|
+ this.mContent.string = data.content
|
|
|
+ }
|
|
|
}else{
|
|
|
this.main.showTips('网络异常');
|
|
|
}
|