onSuccess method

void onSuccess()

请求数据成功 更新UI

Implementation

void onSuccess() {
  pageState.setValue(PageState.success);
  setState();
}