chore: install prettier
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user