hookehuyr

fix data_id查询数据错误,提交按钮隐藏

1 <!-- 1 <!--
2 * @Date: 2022-07-18 10:22:22 2 * @Date: 2022-07-18 10:22:22
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-06-17 11:19:43 4 + * @LastEditTime: 2024-06-17 14:58:40
5 * @FilePath: /data-table/src/views/index.vue 5 * @FilePath: /data-table/src/views/index.vue
6 * @Description: 首页 6 * @Description: 首页
7 --> 7 -->
...@@ -452,6 +452,9 @@ onMounted(async () => { ...@@ -452,6 +452,9 @@ onMounted(async () => {
452 } 452 }
453 }); 453 });
454 } 454 }
455 + if (!history_data) {
456 + PCommit.value.visible = false; // 查询数据错误,提交按钮隐藏
457 + }
455 } 458 }
456 459
457 // TAG: mock数据 460 // TAG: mock数据
......