onnetworkerror,ondataerror，细节优化