mirror of https://github.com/fantasticit/think.git
client: fix title
This commit is contained in:
parent
121f089a30
commit
f8d7b9d74c
|
@ -2,6 +2,7 @@ import { Avatar, Button, Table, Typography } from '@douyinfe/semi-ui';
|
|||
import { IOrganization } from '@think/domains';
|
||||
import { DataRender } from 'components/data-render';
|
||||
import { LocaleTime } from 'components/locale-time';
|
||||
import { Seo } from 'components/seo';
|
||||
import { usePeronalOrganization, useUserOrganizations } from 'data/organization';
|
||||
import { SingleColumnLayout } from 'layouts/single-column';
|
||||
import Link from 'next/link';
|
||||
|
@ -37,6 +38,7 @@ const Page = () => {
|
|||
|
||||
return (
|
||||
<SingleColumnLayout>
|
||||
<Seo title="组织列表" />
|
||||
<div className="container">
|
||||
<div style={{ marginBottom: 24, display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>
|
||||
<Title heading={3} style={{ margin: '8px 0' }}>
|
||||
|
|
|
@ -20,7 +20,6 @@ const Page: NextPage<IProps> = ({ organizationId }) => {
|
|||
|
||||
const navigate = useCallback(
|
||||
(tab = 'base') => {
|
||||
console.log(tab);
|
||||
Router.push({
|
||||
pathname: `/app/org/[organizationId]/setting`,
|
||||
query: { organizationId, tab },
|
||||
|
|
|
@ -2,6 +2,7 @@ import { Avatar, Button, Form, Typography } from '@douyinfe/semi-ui';
|
|||
import { FormApi } from '@douyinfe/semi-ui/lib/es/form';
|
||||
import { ORGANIZATION_LOGOS } from '@think/constants';
|
||||
import { ImageUploader } from 'components/image-uploader';
|
||||
import { Seo } from 'components/seo';
|
||||
import { useCreateOrganization } from 'data/organization';
|
||||
import { useToggle } from 'hooks/use-toggle';
|
||||
import { SingleColumnLayout } from 'layouts/single-column';
|
||||
|
@ -48,6 +49,7 @@ const Page: React.FC = () => {
|
|||
|
||||
return (
|
||||
<SingleColumnLayout>
|
||||
<Seo title="新建组织" />
|
||||
<div className="container">
|
||||
<div>
|
||||
<Title heading={3} style={{ margin: '8px 0' }}>
|
||||
|
|
Loading…
Reference in New Issue