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

@@ -9,17 +9,30 @@
</tr>
</thead>
<tbody>
<tr class="fs-14" v-for="(v, i) in fields">
<tr
class="fs-14"
v-for="(v, i) in fields"
>
<td>{{ i }}</td>
<td>
<a class="has-text-primary" @click="openField(v, i)">{{ v.name }}</a>
<a
class="has-text-primary"
@click="openField(v, i)"
>{{ v.name }}</a
>
</td>
<td>{{ $stripHtml(v.label, 50) }}</td>
<td>
<a class="mr-4" @click="moveDown(v, i)">
<a
class="mr-4"
@click="moveDown(v, i)"
>
<SvgIcon v-bind="{ name: 'down1.png', type: 'dark', size: 18 }"></SvgIcon>
</a>
<a class="mr-4" @click="moveUp(v, i)">
<a
class="mr-4"
@click="moveUp(v, i)"
>
<SvgIcon v-bind="{ name: 'up.png', type: 'dark', size: 18 }"></SvgIcon>
</a>
<a @click="askConfirm(v, i)">
@@ -29,7 +42,13 @@
</tr>
</tbody>
</table>
<Modal @close="showmodal = undefined" @update="update" @confirm="remove" v-bind="showmodal" v-if="showmodal"></Modal>
<Modal
@close="showmodal = undefined"
@update="update"
@confirm="remove"
v-bind="showmodal"
v-if="showmodal"
></Modal>
</template>
<script setup>
import { useStore } from "@/stores/index";