fix: ลบ defineProps data

This commit is contained in:
Net 2024-06-10 11:07:42 +07:00
parent ce282e0783
commit ff36bfe4ba

View file

@ -1,9 +1,7 @@
<script setup lang="ts">
import { onMounted, ref, watch } from 'vue';
import { ref } from 'vue';
import AppBox from './app/AppBox.vue';
import { Customer } from 'src/stores/customer/types';
defineProps<{
title: string;
category?: string;
@ -17,8 +15,6 @@ defineProps<{
submit?: (...args: unknown[]) => void;
close?: (...args: unknown[]) => void;
undo?: (...args: unknown[]) => void;
data: Customer | undefined;
}>();
const drawerOpen = defineModel<boolean>('drawerOpen', {