瀏覽代碼

no message

kllay 1 天之前
父節點
當前提交
24f990508c
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      src/views/system/screenconsole/component/InfoCards.vue
  2. 1 0
      src/views/system/screenconsole/index.vue

+ 1 - 0
src/views/system/screenconsole/component/InfoCards.vue

@@ -44,6 +44,7 @@ const infoList = computed(()=>[
   { label: '今日借出', value: props.summaryData.today_borrowed, icon: Avatar },
   { label: '今日归还', value: props.summaryData.today_returned, icon: Folder },
   { label: '累计借用次数', value: props.summaryData.total_borrows, icon: Monitor },
+  { label: '累计借用人数', value: props.summaryData.total_borrowers, icon: User },
 ]);
 function handleClick(item: any) {
   console.log('点击信息卡片:', item.label);

+ 1 - 0
src/views/system/screenconsole/index.vue

@@ -78,6 +78,7 @@ const dataSummary = ref({
 	today_borrowed: 0,
 	today_returned: 0,
 	total_borrows: 0,
+	total_borrowers: 0,
 })
 
 // const apiData = ref({