diff --git a/mayfly_go_web/src/common/useRequest.ts b/mayfly_go_web/src/common/useRequest.ts index 4844934e..08b9e869 100644 --- a/mayfly_go_web/src/common/useRequest.ts +++ b/mayfly_go_web/src/common/useRequest.ts @@ -25,6 +25,7 @@ const useCustomFetch = createFetch({ headers.set('Authorization', token); headers.set('ClientId', getClientId()); } + headers.set('Content-Type', 'application/json'); options.headers = headers; return { options }; diff --git a/mayfly_go_web/src/theme/app.scss b/mayfly_go_web/src/theme/app.scss index 937157cf..ff03eff4 100644 --- a/mayfly_go_web/src/theme/app.scss +++ b/mayfly_go_web/src/theme/app.scss @@ -71,7 +71,7 @@ body, .layout-main { box-sizing: border-box; - padding: 8px 10px; + padding: 10px 10px; overflow-x: hidden; width: 100%; background-color: var(--bg-main-color); diff --git a/mayfly_go_web/src/views/ops/db/component/sqleditor/DbSqlEditor.vue b/mayfly_go_web/src/views/ops/db/component/sqleditor/DbSqlEditor.vue index bccc2c7d..0e64eee9 100644 --- a/mayfly_go_web/src/views/ops/db/component/sqleditor/DbSqlEditor.vue +++ b/mayfly_go_web/src/views/ops/db/component/sqleditor/DbSqlEditor.vue @@ -276,7 +276,7 @@ const onRemoveTab = (targetId: number) => { const resizeTableHeight = (e: any) => { const vh = window.innerHeight; state.editorSize = e[0].size; - const plitpaneHeight = vh - 223; + const plitpaneHeight = vh - 233; const editorHeight = plitpaneHeight * (state.editorSize / 100); state.tableDataHeight = plitpaneHeight - editorHeight - 40 + 'px'; }; diff --git a/mayfly_go_web/src/views/ops/mongo/MongoDataOp.vue b/mayfly_go_web/src/views/ops/mongo/MongoDataOp.vue index 94e61982..8636eee8 100644 --- a/mayfly_go_web/src/views/ops/mongo/MongoDataOp.vue +++ b/mayfly_go_web/src/views/ops/mongo/MongoDataOp.vue @@ -1,131 +1,128 @@