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,6 +1,9 @@
<template>
<div class="has-text-left">
<p class="py-1 border-bottom" v-for="v in vfiles">
<p
class="py-1 border-bottom"
v-for="v in vfiles"
>
<span class="icon-text">
<span class="mr-5">{{ v.name }}</span>
<SvgIcon
@@ -12,10 +15,11 @@
v-else-if="v.status === 'error'"
></SvgIcon>
</span>
<span class="icon-text has-text-danger ml-6" v-if="v.error">
<SvgIcon
v-bind="{ name: 'error.svg', type: 'danger', size: 22 }"
></SvgIcon>
<span
class="icon-text has-text-danger ml-6"
v-if="v.error"
>
<SvgIcon v-bind="{ name: 'error.svg', type: 'danger', size: 22 }"></SvgIcon>
<span class="ml-1">{{ v.text }}</span>
</span>
<button
@@ -59,9 +63,7 @@ export default {
}
},
checkDone() {
let found = this.vfiles.find(
(v) => !v.status || v.status === "uploading"
);
let found = this.vfiles.find((v) => !v.status || v.status === "uploading");
if (!found) {
this.$emit("files", this.data);
this.$emit("modalevent", { name: "files", data: this.data });