fix(commontable): fix commontable

This commit is contained in:
pengYYY 2022-03-03 20:27:20 +08:00
parent 0c67eaa6fa
commit 1ac4690a79
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -123,7 +123,6 @@ const COLUMNS = [
fixed: 'left',
minWidth: '300',
align: 'left',
ellipsis: true,
colKey: 'name',
},
{ title: '合同状态', colKey: 'status', width: 200, cell: { col: 'status' } },