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">
|
||||
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', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue