我需要通过存储在 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)