File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 188188 <n-carousel-item v-for =" drive in server.drives" :key =" drive.uuid" style =" width : 350px " class =" flex flex-col justify-start items-center p-4 border rounded mx-2 ml-0" >
189189 <div class =" self-start ps-6" >{{ drive.drive_path }}</div >
190190 <div class =" flex w-full justify-around items-center my-8" >
191- <n-progress type =" circle" style =" width : 140px " :percentage =" Math.round((drive.used_space / drive.total_space ) * 100)" size =" small" >
192- <span class =" text-center" >{{ niceBytes(drive.used_space ) }}</span >
191+ <n-progress type =" circle" style =" width : 140px " :percentage =" Math.round((drive.usedspace / drive.totalspace ) * 100)" size =" small" >
192+ <span class =" text-center" >{{ niceBytes(drive.usedspace ) }}</span >
193193 </n-progress >
194194 <div class =" flex flex-col justify-between text-center" >
195- <div class =" text-lg" >{{ niceBytes(drive.total_space ) }}</div >
195+ <div class =" text-lg" >{{ niceBytes(drive.totalspace ) }}</div >
196196 <div class =" mb-2" >{{ t('Total Space') }}</div >
197- <div class =" text-lg" >{{ niceBytes(drive.used_space ) }}</div >
197+ <div class =" text-lg" >{{ niceBytes(drive.usedspace ) }}</div >
198198 <div class =" mb-2" >{{ t('Used') }}</div >
199- <div class =" text-lg" >{{ niceBytes(drive.available_space ) }}</div >
199+ <div class =" text-lg" >{{ niceBytes(drive.availspace ) }}</div >
200200 <div >{{ t('Available') }}</div >
201201 </div >
202202 </div >
@@ -235,7 +235,6 @@ const getMetricsInfo = async () => {
235235 for await (const data of $api .streamRequest (url , options )) {
236236 // 更新metricsInfo.value
237237 metricsInfo .value = { ... metricsInfo .value , ... data };
238- console .log (metricsInfo .value )
239238 }
240239};
241240
You can’t perform that action at this time.
0 commit comments