refactor(material-center): 重构删除文件模态框组件

This commit is contained in:
rd
2025-09-19 10:34:06 +08:00
parent 8e1f31cc17
commit 51edc75c65

View File

@ -17,7 +17,9 @@ import { Button, Modal, message } from 'ant-design-vue';
import { deleteRawMaterial, batchDeleteRawMaterials } from '@/api/all/generationWorkshop';
import icon1 from '@/assets/img/media-account/icon-warn-1.png';
const update = inject('update');
// const update = inject('update');
const emits = defineEmits(['update', 'batchUpdate']);
const visible = ref(false);
const fileId = ref(null);