fix history

This commit is contained in:
jxxghp
2023-06-28 12:34:21 +08:00
parent 7401ef7941
commit 824b27020c
5 changed files with 141 additions and 56 deletions
+5 -48
View File
@@ -1,53 +1,10 @@
<script setup lang="ts">
import DemoSimpleTableBasics from '@/views/pages/tables/DemoSimpleTableBasics.vue'
import DemoSimpleTableDensity from '@/views/pages/tables/DemoSimpleTableDensity.vue'
import DemoSimpleTableFixedHeader from '@/views/pages/tables/DemoSimpleTableFixedHeader.vue'
import DemoSimpleTableHeight from '@/views/pages/tables/DemoSimpleTableHeight.vue'
import DemoSimpleTableTheme from '@/views/pages/tables/DemoSimpleTableTheme.vue'
import TransferHistoryView from '@/views/reorganize/TransferHistoryView.vue';
</script>
<template>
<VRow>
<VCol cols="12">
<VCard title="Basic">
<DemoSimpleTableBasics />
</VCard>
</VCol>
<VCol cols="12">
<VCard title="Theme">
<VCardText>
use <code>theme</code> prop to switch table to the dark theme.
</VCardText>
<DemoSimpleTableTheme />
</VCard>
</VCol>
<VCol cols="12">
<VCard title="Density">
<VCardText>
You can show a dense version of the table by using the <code>density</code> prop.
</VCardText>
<DemoSimpleTableDensity />
</VCard>
</VCol>
<VCol cols="12">
<VCard title="Height">
<VCardText>
You can set the height of the table by using the <code>height</code> prop.
</VCardText>
<DemoSimpleTableHeight />
</VCard>
</VCol>
<VCol cols="12">
<VCard title="Fixed Header">
<VCardText>
You can fix the header of table by using the <code>fixed-header</code> prop.
</VCardText>
<DemoSimpleTableFixedHeader />
</VCard>
</VCol>
</VRow>
<div>
<TransferHistoryView />
</div>
</template>
+3 -2
View File
@@ -42,7 +42,7 @@ const fetchBackgroundImage = async () => {
const login = () => {
errorMessage.value = ''
// 进行表单校验
if (refForm.value && !refForm.value.validate()) {
if (!form.value.username || !form.value.password) {
return
}
@@ -135,7 +135,7 @@ onMounted(() => {
</VCardText>
<VCardText>
<VForm @submit.prevent="login" ref="refForm">
<VForm @submit.prevent="()=>{}" ref="refForm">
<VRow>
<!-- username -->
<VCol cols="12">
@@ -180,6 +180,7 @@ onMounted(() => {
<VBtn
block
type="submit"
@click="login"
>
登录
</VBtn>