diff --git a/backend/lombok.config b/backend/lombok.config new file mode 100644 index 0000000..53a4a72 --- /dev/null +++ b/backend/lombok.config @@ -0,0 +1 @@ +lombok.copyableAnnotations += org.springframework.beans.factory.annotation.Qualifier diff --git a/frontend/src/pages/business/ClientManagement.tsx b/frontend/src/pages/business/ClientManagement.tsx index 8ea374f..29845b0 100644 --- a/frontend/src/pages/business/ClientManagement.tsx +++ b/frontend/src/pages/business/ClientManagement.tsx @@ -363,7 +363,6 @@ export default function ClientManagement() { { title: "安装包信息", key: "package", - width: 240, render: (_, record) => ( 大小:{formatFileSize(record.fileSize)} @@ -491,14 +490,14 @@ export default function ClientManagement() { -
+
} : undefined} - scroll={{ x: "max-content" }} + scroll={{x: 1100}} pagination={false} /> diff --git a/frontend/src/pages/devices/index.less b/frontend/src/pages/devices/index.less index 040c9c7..d659561 100644 --- a/frontend/src/pages/devices/index.less +++ b/frontend/src/pages/devices/index.less @@ -175,10 +175,10 @@ font-variant-numeric: tabular-nums; } -//.app-page__table-wrap .ant-table-wrapper .ant-table-cell-fix-right-first, -//.app-page__table-wrap .ant-table-wrapper .ant-table-cell-fix-right-last { -// right: 0 !important; -//} +.app-page__table-wrap .ant-table-wrapper .ant-table-cell-fix-right-first, +.app-page__table-wrap .ant-table-wrapper .ant-table-cell-fix-right-last { + right: 0 !important; +} @media (max-width: 768px) { .devices-page { diff --git a/frontend/src/pages/devices/index.tsx b/frontend/src/pages/devices/index.tsx index bfc2bc6..bfd9229 100644 --- a/frontend/src/pages/devices/index.tsx +++ b/frontend/src/pages/devices/index.tsx @@ -220,7 +220,6 @@ export default function Devices() { { title: t("devicesExt.weatherCityName"), dataIndex: "weatherCityName", - width: 140, render: (text: string) => {text || "-"} }, { @@ -347,13 +346,13 @@ export default function Devices() { -
+
rowKey="deviceId" dataSource={pagedData} loading={loading} columns={columns} - scroll={{ y: "calc(100vh - 520px)", x: 1200 }} + scroll={{y: "calc(100vh - 520px)", x: 1980}} pagination={false} />