|
|
@@ -1,19 +1,13 @@
|
|
1
|
1
|
<script setup lang="ts">
|
|
2
|
2
|
import { onMounted, ref } from 'vue';
|
|
3
|
3
|
|
|
4
|
|
-import { useVbenDrawer, useVbenForm } from '@vben/common-ui';
|
|
|
4
|
+import { useVbenDrawer } from '@vben/common-ui';
|
|
5
|
5
|
|
|
6
|
|
-import { drawerFormSchema } from './photoTask-data';
|
|
7
|
6
|
|
|
8
|
7
|
const emit = defineEmits<{
|
|
9
|
8
|
reload: [];
|
|
10
|
9
|
}>();
|
|
11
|
10
|
|
|
12
|
|
-const [Form, formApi] = useVbenForm({
|
|
13
|
|
- showDefaultActions: false,
|
|
14
|
|
- schema: drawerFormSchema(),
|
|
15
|
|
-});
|
|
16
|
|
-
|
|
17
|
11
|
const isUpdateRef = ref<boolean>(false);
|
|
18
|
12
|
|
|
19
|
13
|
const [Drawer, drawerApi] = useVbenDrawer({
|