client: fix title

This commit is contained in:
fantasticit 2022-07-02 11:05:13 +08:00
parent 121f089a30
commit f8d7b9d74c
3 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,7 @@ import { Avatar, Button, Table, Typography } from '@douyinfe/semi-ui';
import { IOrganization } from '@think/domains'; import { IOrganization } from '@think/domains';
import { DataRender } from 'components/data-render'; import { DataRender } from 'components/data-render';
import { LocaleTime } from 'components/locale-time'; import { LocaleTime } from 'components/locale-time';
import { Seo } from 'components/seo';
import { usePeronalOrganization, useUserOrganizations } from 'data/organization'; import { usePeronalOrganization, useUserOrganizations } from 'data/organization';
import { SingleColumnLayout } from 'layouts/single-column'; import { SingleColumnLayout } from 'layouts/single-column';
import Link from 'next/link'; import Link from 'next/link';
@ -37,6 +38,7 @@ const Page = () => {
return ( return (
<SingleColumnLayout> <SingleColumnLayout>
<Seo title="组织列表" />
<div className="container"> <div className="container">
<div style={{ marginBottom: 24, display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}> <div style={{ marginBottom: 24, display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>
<Title heading={3} style={{ margin: '8px 0' }}> <Title heading={3} style={{ margin: '8px 0' }}>

View File

@ -20,7 +20,6 @@ const Page: NextPage<IProps> = ({ organizationId }) => {
const navigate = useCallback( const navigate = useCallback(
(tab = 'base') => { (tab = 'base') => {
console.log(tab);
Router.push({ Router.push({
pathname: `/app/org/[organizationId]/setting`, pathname: `/app/org/[organizationId]/setting`,
query: { organizationId, tab }, query: { organizationId, tab },

View File

@ -2,6 +2,7 @@ import { Avatar, Button, Form, Typography } from '@douyinfe/semi-ui';
import { FormApi } from '@douyinfe/semi-ui/lib/es/form'; import { FormApi } from '@douyinfe/semi-ui/lib/es/form';
import { ORGANIZATION_LOGOS } from '@think/constants'; import { ORGANIZATION_LOGOS } from '@think/constants';
import { ImageUploader } from 'components/image-uploader'; import { ImageUploader } from 'components/image-uploader';
import { Seo } from 'components/seo';
import { useCreateOrganization } from 'data/organization'; import { useCreateOrganization } from 'data/organization';
import { useToggle } from 'hooks/use-toggle'; import { useToggle } from 'hooks/use-toggle';
import { SingleColumnLayout } from 'layouts/single-column'; import { SingleColumnLayout } from 'layouts/single-column';
@ -48,6 +49,7 @@ const Page: React.FC = () => {
return ( return (
<SingleColumnLayout> <SingleColumnLayout>
<Seo title="新建组织" />
<div className="container"> <div className="container">
<div> <div>
<Title heading={3} style={{ margin: '8px 0' }}> <Title heading={3} style={{ margin: '8px 0' }}>