mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 19:29:04 +08:00
fix(excel): update excel demo
This commit is contained in:
@@ -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', {
|
||||
|
Reference in New Issue
Block a user