修复bug

This commit is contained in:
2025-11-21 16:59:33 +08:00
parent 733c346887
commit 4f5135a619

View File

@@ -38,7 +38,7 @@
</template>
<script>
import {ref, onMounted, defineExpose} from 'vue';
import {ref, onMounted} from 'vue';
import {FeedApi} from '../../api/feed';
import {ElMessageBox, ElMessage} from 'element-plus';
@@ -165,10 +165,6 @@ export default {
fetchRawMaterials();
});
defineExpose({
fetchRawMaterials,
});
return {
tableData,
loading,
@@ -182,6 +178,7 @@ export default {
handleExpandChange,
handleEdit: (row) => console.log('edit', row),
handleDelete,
fetchRawMaterials, // 将方法暴露出去
};
},
};