chore: install prettier

This commit is contained in:
Viet An
2026-05-04 15:22:27 +07:00
parent 93d29ca7d8
commit bd58e2b847
267 changed files with 22950 additions and 13581 deletions

View File

@@ -1,41 +1,71 @@
<template>
<div>
<table class="table" v-if="attrs">
<thead>
<tr>
<th width="170px">Thông tin</th>
<th>Diễn giải</th>
<table
class="table"
v-if="attrs"
>
<thead>
<tr>
<th width="170px">Thông tin</th>
<th>Diễn giải</th>
</tr>
</thead>
<tbody>
<tr v-for="v in attrs">
<td>{{ v.name }}</td>
<td>
<span class="icon-text">
<span>{{ v.value }}</span>
<span class="ml-5" v-if="!$empty(v.match)">
<SvgIcon v-bind="{name: v.match? 'check2.svg' : 'error.svg', type: v.match? 'blue' : 'danger', size: 26}"></SvgIcon>
</span>
<span class="ml-5" v-if="!$empty(v.auth)">
<SvgIcon v-bind="{name: v.auth? 'check2.svg' : 'error.svg', type: v.auth? 'blue' : 'danger', size: 26}"></SvgIcon>
</span>
<span class="ml-5" v-if="!$empty(v.expiry)">
<SvgIcon v-bind="{name: v.expiry? 'error.svg' : 'check2.svg', type: v.expiry? 'danger' : 'blue', size: 26}"></SvgIcon>
</span>
</span>
</td>
</tr>
</tbody>
</table>
</thead>
<tbody>
<tr v-for="v in attrs">
<td>{{ v.name }}</td>
<td>
<span class="icon-text">
<span>{{ v.value }}</span>
<span
class="ml-5"
v-if="!$empty(v.match)"
>
<SvgIcon
v-bind="{
name: v.match ? 'check2.svg' : 'error.svg',
type: v.match ? 'blue' : 'danger',
size: 26,
}"
></SvgIcon>
</span>
<span
class="ml-5"
v-if="!$empty(v.auth)"
>
<SvgIcon
v-bind="{
name: v.auth ? 'check2.svg' : 'error.svg',
type: v.auth ? 'blue' : 'danger',
size: 26,
}"
></SvgIcon>
</span>
<span
class="ml-5"
v-if="!$empty(v.expiry)"
>
<SvgIcon
v-bind="{
name: v.expiry ? 'error.svg' : 'check2.svg',
type: v.expiry ? 'danger' : 'blue',
size: 26,
}"
></SvgIcon>
</span>
</span>
</td>
</tr>
</tbody>
</table>
</div>
</template>
<script>
export default {
props: ['file'],
props: ["file"],
data() {
return {
attrs: this.file? this.file.file__verified_info || this.file.verified_info: undefined
}
}
}
</script>
attrs: this.file ? this.file.file__verified_info || this.file.verified_info : undefined,
};
},
};
</script>