File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9696 >
9797 <n-spin class =" min-h-40 w-full" > </n-spin >
9898 </div >
99-
100- <div v-for =" (topItem, i) in uptime_data.monitors" :key =" i" class =" w-full" >
101- <div >{{ i }}</div >
102- <div
103- class =" mt-2 border border-gray-200 rounded-lg bg-white px-6 shadow dark:border-gray-700 dark:bg-gray-800"
104- >
105- <div class =" w-full divide-y divide-dashed" >
106- <ul v-for =" (item, j) in topItem" :key =" j" class =" w-full" >
107- <StatusItem :rtl =" info_data ?.rtl " :data =" item " ></StatusItem >
108- </ul >
99+ <n-tabs type =" segment" animated class =" overflow-hidden rounded-lg" >
100+ <n-tab-pane name =" chap1" tab =" Uptimerobot" >
101+ <div
102+ v-for =" (topItem, i) in uptime_data.monitors"
103+ :key =" i"
104+ class =" w-full"
105+ >
106+ <div >{{ i }}</div >
107+ <div
108+ class =" mt-2 border border-gray-200 rounded-lg bg-white px-6 shadow dark:border-gray-700 dark:bg-gray-800"
109+ >
110+ <div class =" w-full divide-y divide-dashed" >
111+ <ul v-for =" (item, j) in topItem" :key =" j" class =" w-full" >
112+ <StatusItem :rtl =" info_data ?.rtl " :data =" item " ></StatusItem >
113+ </ul >
114+ </div >
115+ </div >
109116 </div >
110- </div >
111- </div >
117+ </n-tab-pane >
118+ <n-tab-pane name =" chap2" tab =" 自建uptime-kuma" > </n-tab-pane >
119+ </n-tabs >
112120 </div >
113121 <div class =" col-span-12 flex flex-col gap-2 overflow-hidden md:col-span-4" >
114122 <AboutMe
154162 <n-spin v-show =" backup_loading" class =" min-h-40 w-full" ></n-spin >
155163 <n-timeline >
156164 <n-timeline-item
157- v-for =" (item, key) in backup_data?.errors"
165+ v-for =" (item, key) in backup_data?.errors?.reverse() "
158166 :key =" key"
159167 type =" error"
160168 :title =" item.name + '失败 :('"
You can’t perform that action at this time.
0 commit comments