wuyouming666
2024-05-15 f44c449c2f5ec5439d7df4145a28bc878018ba2b
UI-Project/src/views/UnLoadGlass/loadmachinerack.vue
@@ -76,7 +76,7 @@
const workstationId = ref('');
const flowCardId = ref('');
const flowCardOptions = ref([]);
const tableData = reactive([]);
// 方法
const handleSelectionChange = () => {
@@ -140,10 +140,10 @@
const updatePageData = () => {
  // 假设你的页面上有一个名为 tableData 的 Vue 组件
  // 你可以直接更新 tableData 的数据
  tableData.flowCardId = flowCardId.value;
  fetchTableData()
  // 使用 $forceUpdate() 强制更新组件
  forceUpdate();
};
@@ -186,7 +186,7 @@
const tableData = reactive([]);
// 发送获取表格数据的请求
const fetchTableData = async () => {