diff --git a/packages/app/.umirc.ts b/packages/app/.umirc.ts
index 7a250f133..662cd092a 100644
--- a/packages/app/.umirc.ts
+++ b/packages/app/.umirc.ts
@@ -1,6 +1,7 @@
import { defineConfig } from 'umi';
export default defineConfig({
+ title: false,
nodeModulesTransform: {
type: 'none',
},
diff --git a/packages/app/src/components/pages/CollectionLoader/CollectionIndex.tsx b/packages/app/src/components/pages/CollectionLoader/CollectionIndex.tsx
index d66dc8dcd..98ce4c140 100644
--- a/packages/app/src/components/pages/CollectionLoader/CollectionIndex.tsx
+++ b/packages/app/src/components/pages/CollectionLoader/CollectionIndex.tsx
@@ -3,6 +3,7 @@ import ViewFactory from '@/components/views';
import { PageHeader, Tabs, Button, Statistic, Descriptions } from 'antd';
import { useRequest, request, Spin } from '@nocobase/client';
import { getPathName } from './utils';
+import { Helmet } from 'umi';
export function CollectionIndex(props) {
const { lastPage } = props;
@@ -11,6 +12,9 @@ export function CollectionIndex(props) {
return (
+
+ {title}
+
+
+ {data.pageTitle}
+
{
diff --git a/packages/app/src/components/pages/Page.tsx b/packages/app/src/components/pages/Page.tsx
index 392510dc9..5be85a46c 100644
--- a/packages/app/src/components/pages/Page.tsx
+++ b/packages/app/src/components/pages/Page.tsx
@@ -1,12 +1,17 @@
import React from 'react';
import { PageHeader } from 'antd';
import './style.less';
+import { Helmet } from 'umi';
export function Page(props: any) {
- const { children, ...restProps } = props;
+ const { title, children, ...restProps } = props;
return (
+
+ {title}
+
diff --git a/packages/app/src/pages/login.tsx b/packages/app/src/pages/login.tsx
index 6f7d0eee7..581685072 100644
--- a/packages/app/src/pages/login.tsx
+++ b/packages/app/src/pages/login.tsx
@@ -2,10 +2,14 @@ import React from 'react';
import { Link } from 'umi';
import { Page } from '@/components/pages';
import ViewFactory from '@/components/views';
+import { Helmet } from 'umi';
export default (props: any) => {
return (
+
+ {'登录 NocoBase'}
+
{
return (
+
+ {'注册 NocoBase'}
+