fix(excel): update excel demo

This commit is contained in:
jq
2020-10-19 20:37:08 +08:00
parent 7101587b96
commit a207cafec9
11 changed files with 202 additions and 121 deletions

View File

@@ -12,6 +12,7 @@
import { defineComponent } from 'vue';
import { BasicModal, useModalInner } from '/@/components/Modal';
import { BasicForm, FormSchema, useForm } from '/@/components/Form/index';
import { ExportModalResult } from './types';
const schemas: FormSchema[] = [
{
@@ -59,7 +60,7 @@
const [registerModal, { closeModal }] = useModalInner();
async function handleOk() {
const res = await validateFields();
const res: ExportModalResult = await validateFields();
const { filename, bookType } = res;
emit('success', {