diff --git a/src/pages/course/index.tsx b/src/pages/course/index.tsx index a596278..cd9864c 100644 --- a/src/pages/course/index.tsx +++ b/src/pages/course/index.tsx @@ -164,7 +164,6 @@ export const CoursePage = () => { { title: "创建时间", dataIndex: "created_at", - width: 200, render: (text: string) => {dateFormat(text)}, }, { diff --git a/src/pages/home/index.module.less b/src/pages/home/index.module.less index facd507..89e6a59 100644 --- a/src/pages/home/index.module.less +++ b/src/pages/home/index.module.less @@ -5,6 +5,8 @@ right: 0; bottom: 0; display: flex; + overflow-y: hidden; + overflow-x: auto; .left-menu { width: 200px; height: 100%; @@ -15,6 +17,7 @@ display: flex; flex-direction: column; background-color: #f6f6f6; + .right-top { width: 100%; height: 48px; @@ -24,6 +27,7 @@ } .right-main { width: 100%; + min-width: 1400px; height: auto; box-sizing: border-box; -moz-box-sizing: border-box;