import {Alert} from "react-native";

const ResponseError = (response,) => {
    Alert.alert(
        '友情提醒',
        response.errors ? response.errors : '当前页面出错了！',
        [
            {text: '我知道了', style: 'cancel'},
        ],
    );
}
export default ResponseError;
