小编Mah*_*awy的帖子

我需要在 Material-ui DataGrid 中渲染 JSX 元素

我需要通过存储在 Object 中的给定字符串有条件地渲染样式化的 div。我传递数据对象 throw props 并通过此函数转换它convertOrdersRows。但这给了我这个错误TypeError: Converting circular structure to JSON --> starting at object with constructor 'Object' | property '_context' -> object with constructor 'Object'

const orderColumns = [
  { field: "id", headerName: "ID", width: 120 },
  { field: "date", headerName: "Date", width: 140 },
  { field: "customerName", headerName: "Customer Name", width: 190 },
  { field: "products", headerName: "Products", width: 150 },
  { field: "price", headerName: "Price", width: 90 },
  { field: "status", headerName: "Status", …
Run Code Online (Sandbox Code Playgroud)

reactjs material-ui

2
推荐指数
1
解决办法
2809
查看次数

标签 统计

material-ui ×1

reactjs ×1