fix: ลบ defineProps data
This commit is contained in:
parent
ce282e0783
commit
ff36bfe4ba
1 changed files with 1 additions and 5 deletions
|
|
@ -1,9 +1,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onMounted, ref, watch } from 'vue';
|
import { ref } from 'vue';
|
||||||
import AppBox from './app/AppBox.vue';
|
import AppBox from './app/AppBox.vue';
|
||||||
|
|
||||||
import { Customer } from 'src/stores/customer/types';
|
|
||||||
|
|
||||||
defineProps<{
|
defineProps<{
|
||||||
title: string;
|
title: string;
|
||||||
category?: string;
|
category?: string;
|
||||||
|
|
@ -17,8 +15,6 @@ defineProps<{
|
||||||
submit?: (...args: unknown[]) => void;
|
submit?: (...args: unknown[]) => void;
|
||||||
close?: (...args: unknown[]) => void;
|
close?: (...args: unknown[]) => void;
|
||||||
undo?: (...args: unknown[]) => void;
|
undo?: (...args: unknown[]) => void;
|
||||||
|
|
||||||
data: Customer | undefined;
|
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const drawerOpen = defineModel<boolean>('drawerOpen', {
|
const drawerOpen = defineModel<boolean>('drawerOpen', {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue