修复磁盘满时不显示剩余空间的问题

修复添加信号源组时默认选择的父组不正确的问题
This commit is contained in:
fangxiang 2022-10-28 15:12:30 +08:00
parent c1c875e537
commit 2b421b8262
2 changed files with 6 additions and 3 deletions

View File

@ -297,11 +297,14 @@
<div class="col-2 text-h6">
{{ $t("directoriy count") }}: {{ directory_count }}
</div>
<div v-if="free_space" class="col-2 text-h6 q-mx-md">
<div
v-if="typeof free_space == 'number'"
class="col-2 text-h6 q-mx-md"
>
&nbsp;&nbsp;&nbsp;&nbsp;
</div>
<div class="col-2 text-h6" v-if="free_space">
<div class="col-2 text-h6" v-if="typeof free_space == 'number'">
{{ $t("free space") }}:
<span v-if="free_space / 1024 / 1024 / 1024 > 0">
{{ (free_space / 1024 / 1024 / 1024).toFixed(1) }}GB

View File

@ -255,7 +255,7 @@ export default defineComponent({
(e) => e && e.uuid == options.data?.uuid
);
if (signal_item_data_) {
selected.value = signal_item_data_.parent_uuid;
selected.value = signal_item_data_.uuid;
} else {
selected.value = "";
}