mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-22 20:46:32 +08:00
fix(commontable): fix commontable
This commit is contained in:
parent
0c67eaa6fa
commit
1ac4690a79
|
@ -142,6 +142,7 @@
|
|||
<script setup lang="ts">
|
||||
import { ref, computed } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { ValidateResultContext } from 'tdesign-vue-next';
|
||||
import Card from '@/components/card/index.vue';
|
||||
|
||||
import {
|
||||
|
@ -172,7 +173,7 @@ const amount = computed(() => {
|
|||
return '--';
|
||||
});
|
||||
|
||||
const onSubmit = (result, val: number) => {
|
||||
const onSubmit = (result: ValidateResultContext<FormData>, val: number) => {
|
||||
if (result.validateResult === true) {
|
||||
activeForm.value = val;
|
||||
}
|
||||
|
|
|
@ -123,7 +123,6 @@ const COLUMNS = [
|
|||
fixed: 'left',
|
||||
minWidth: '300',
|
||||
align: 'left',
|
||||
ellipsis: true,
|
||||
colKey: 'name',
|
||||
},
|
||||
{ title: '合同状态', colKey: 'status', width: 200, cell: { col: 'status' } },
|
||||
|
|
Loading…
Reference in New Issue
Block a user