diff --git a/template/src/locales/common/zh_CN.json b/template/src/locales/common/zh_CN.json
index 2562132..4d5a12d 100644
--- a/template/src/locales/common/zh_CN.json
+++ b/template/src/locales/common/zh_CN.json
@@ -1,4 +1,5 @@
{
+ "name": "Project_Name",
"ptrActivate": "松开刷新",
"ptrDeactivate": "下拉刷新",
"ptrRelease": "正在刷新...",
diff --git a/template/src/locales/menu/zh_CN.json b/template/src/locales/menu/zh_CN.json
new file mode 100644
index 0000000..40f3646
--- /dev/null
+++ b/template/src/locales/menu/zh_CN.json
@@ -0,0 +1,5 @@
+{
+ "System": "系统管理",
+ "userManage": "用户管理",
+ "relationManage": "关系管理"
+}
\ No newline at end of file
diff --git a/template/typings/index.d.ts b/template/typings/index.d.ts
index a471ae4..f083cf8 100644
--- a/template/typings/index.d.ts
+++ b/template/typings/index.d.ts
@@ -1,4 +1,4 @@
-///
+///
declare global {
diff --git a/template/web/src/app/components/footer/index.tsx b/template/web/src/app/components/footer/index.tsx
index 5dea63f..bb519a0 100644
--- a/template/web/src/app/components/footer/index.tsx
+++ b/template/web/src/app/components/footer/index.tsx
@@ -1,17 +1,20 @@
import React from 'react';
import { Layout } from 'antd';
import Style from './index.module.less';
+import useFeatures from '@project/hooks/useFeatures';
const { Footer } = Layout;
export default function Render() {
+ const features = useFeatures();
+
return (
diff --git a/template/web/src/app/components/header/index.ts b/template/web/src/app/components/header/index.ts
index e6ea1a5..cce5d5d 100644
--- a/template/web/src/app/components/header/index.ts
+++ b/template/web/src/app/components/header/index.ts
@@ -8,9 +8,4 @@ export default OakComponent({
};
},
features: ['console'],
- methods: {
- logout() {
- // this.features.xxxx.logout();
- }
- },
})
\ No newline at end of file
diff --git a/template/web/src/app/components/header/locales/zh_CN.json b/template/web/src/app/components/header/locales/zh_CN.json
index edd2f93..ea480d8 100644
--- a/template/web/src/app/components/header/locales/zh_CN.json
+++ b/template/web/src/app/components/header/locales/zh_CN.json
@@ -1 +1 @@
-{"name":"Oak模板项目", "close": "关闭"}
\ No newline at end of file
+{"name":"Oak模板项目", "close": "关闭","modeUnset": "取消设置"}
\ No newline at end of file