diff --git a/src/layouts/index.less b/src/layouts/index.less
index 951fba41..d0358657 100644
--- a/src/layouts/index.less
+++ b/src/layouts/index.less
@@ -26,8 +26,8 @@ body {
}
.ant-modal-body {
- max-height: calc(80vh - 110px);
- max-height: calc(80vh - var(--vh-offset, 110px));
+ max-height: calc(90vh - 110px);
+ max-height: calc(90vh - var(--vh-offset, 110px));
overflow-y: auto;
}
diff --git a/src/layouts/index.tsx b/src/layouts/index.tsx
index beee1bde..484ebf27 100644
--- a/src/layouts/index.tsx
+++ b/src/layouts/index.tsx
@@ -271,7 +271,7 @@ export default function () {
// @ts-ignore
title={
<>
- 青龙
+ 青龙
{
{
title: '操作',
key: 'action',
- width: 100,
+ width: 130,
render: (text, record, index) => {
const isPc = !isPhone;
return (
diff --git a/src/utils/hooks.ts b/src/utils/hooks.ts
index 9dda08b2..1103d586 100644
--- a/src/utils/hooks.ts
+++ b/src/utils/hooks.ts
@@ -14,11 +14,13 @@ export const useCtx = () => {
setMarginLeft(0);
setMarginTop(0);
setIsPhone(true);
+ document.body.setAttribute('data-mode', 'phone');
} else {
setWidth('100%');
setMarginLeft(0);
setMarginTop(-72);
setIsPhone(false);
+ document.body.setAttribute('data-mode', 'desktop');
}
}, []);