我想使用表格以表格形式显示我的投诉数据。我试过使用List it worked。我不知道如何使用Table以表格形式显示数据。当我尝试控制台日志和邮递员时,它会显示数据库中包含的数据。我想以表格的形式获取数据。请给我一个解决方案。
import React,{Component} from 'react';
import {Table} from 'react-bootstrap';
import axios from 'axios';
export default class Display extends React.Component{
我试图在单击按钮时隐藏或显示一个“反应本机”对话框,但我不知道为什么我的代码会生成以下错误:
> this.callFunc() is not a function.
指令在fetch.then回调中执行。
我使用dialogVisible变量作为标志,以知道对话框应该隐藏还是显示。
import React, { Component } from 'react';
import { ConfirmDialog } from 'react-native-simple-dialogs';
export default class RegistrationSc
我不知道为什么当我试图点击我的yelp api时,我得到了400个糟糕的请求错误。
Request failed with status code 400
- node_modules\axios\lib\core\createError.js:15:17 in createError
- node_modules\axios\lib\core\settle.js:16:9 in settle
- node_modules\axios\lib\adapters\xhr.js:52:6 in handleLoad
- node_modules\event-target-shim\dist\eve
我目前正在为我的大学期末项目学习react,我遇到了一些问题,我不知道它是正常的还是不正常的。
错误是:
Uncaught SyntaxError: Unexpected token o in JSON at position 1
at JSON.parse (<anonymous>)
at Module../src/redux/reducers/loginReducer.js (loginReducer.js:3)
at __webpack_require__ (bootstrap:784)
at fn (bootstrap:150)
at Module../src/redux/