From fb93a0da4d477d7bbc00b801a6cc24f15e1ddcf4 Mon Sep 17 00:00:00 2001 From: vincentlu <t1341870251@gmail.com> Date: 星期一, 11 八月 2025 12:58:41 +0800 Subject: [PATCH] # --- rsf-admin/src/page/dashboard/index.jsx | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/rsf-admin/src/page/dashboard/index.jsx b/rsf-admin/src/page/dashboard/index.jsx index c02706a..6dfbcbc 100644 --- a/rsf-admin/src/page/dashboard/index.jsx +++ b/rsf-admin/src/page/dashboard/index.jsx @@ -11,6 +11,7 @@ import request from '@/utils/request'; import { Box, Typography, LinearProgress, Stack } from '@mui/material'; import NbChart from "./NbChart"; +import NbList from "./NbList"; const styles = { flex: { display: 'flex' }, @@ -88,22 +89,32 @@ const recentOrders = [ { + id: 1, + name: 'a', date: "2025-08-10T12:23:56.959Z", total: 138.94 }, { + id: 2, + name: 'b', date: "2025-08-03T07:45:00.304Z", total: 214.66 }, { + id: 3, + name: 'c', date: "2025-07-28T00:20:10.968Z", total: 68.19 }, { + id: 4, + name: 'd', date: "2025-07-22T20:39:00.293Z", total: 36.56 }, { + id: 5, + name: 'e', date: "2025-07-16T17:40:24.791Z", total: 100.82 }, @@ -130,7 +141,7 @@ <NbChart orders={recentOrders} /> </div> <div style={styles.singleCol}> - {/* <PendingOrders orders={pendingOrders} /> */} + <NbList orders={recentOrders} /> </div> </div> <div style={styles.rightCol}> -- Gitblit v1.9.1