chore: commit时格式整理

This commit is contained in:
dingyongya
2022-02-16 17:22:55 +08:00
parent c2b9d36868
commit 7f3674d532
95 changed files with 823 additions and 852 deletions

View File

@@ -5,4 +5,4 @@ Component.install = (app: App) => {
app.component(Component.name, Component);
};
export default Component;
export default Component;

View File

@@ -6,7 +6,7 @@ export default {
<script setup lang="ts">
import { Ref, ref, watch, useSlots, computed } from "vue";
import { useI18n } from 'vue-i18n';
import { useI18n } from "vue-i18n";
export interface LayPageProps {
total: number;
@@ -116,7 +116,7 @@ watch(currentPage, function () {
@click="prev()"
>
<slot v-if="slots.prev" name="prev"></slot>
<template v-else>{{ t('page.prev') }}</template>
<template v-else>{{ t("page.prev") }}</template>
</a>
<template v-if="showPage">
<template v-for="index of totalPage" :key="index">
@@ -138,7 +138,7 @@ watch(currentPage, function () {
@click="next()"
>
<slot v-if="slots.next" name="next"></slot>
<template v-else>{{ t('page.next') }}</template>
<template v-else>{{ t("page.next") }}</template>
</a>
<span v-if="showLimit" class="layui-laypage-limits">
<select v-model="inlimit">
@@ -168,4 +168,4 @@ watch(currentPage, function () {
</button>
</span>
</div>
</template>
</template>

View File

@@ -1 +0,0 @@