diff --git a/mayfly_go_web/src/views/ops/db/component/table/DbTableData.vue b/mayfly_go_web/src/views/ops/db/component/table/DbTableData.vue index 9445b9e5..95c76b09 100644 --- a/mayfly_go_web/src/views/ops/db/component/table/DbTableData.vue +++ b/mayfly_go_web/src/views/ops/db/component/table/DbTableData.vue @@ -106,6 +106,11 @@ + @@ -530,6 +535,11 @@ const onGenerateJson = async () => { state.genTxtDialog.visible = true; }; +const copyGenTxt = async (txt: string) => { + await copyToClipboard(txt); + state.genTxtDialog.visible = false; +}; + /** * 导出当前页数据 */ diff --git a/mayfly_go_web/src/views/ops/db/component/table/DbTableDataOp.vue b/mayfly_go_web/src/views/ops/db/component/table/DbTableDataOp.vue index 890492c0..3e723102 100644 --- a/mayfly_go_web/src/views/ops/db/component/table/DbTableDataOp.vue +++ b/mayfly_go_web/src/views/ops/db/component/table/DbTableDataOp.vue @@ -311,8 +311,6 @@ const handlerWindowClick = () => { }; const onRefresh = async () => { - // 查询条件置空 - state.condition = ''; state.pageNum = 1; await selectData(); };