修复了模板中的部分错误
This commit is contained in:
parent
dd94d1b379
commit
71d0c9683c
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"name": "Project_Name",
|
||||
"ptrActivate": "松开刷新",
|
||||
"ptrDeactivate": "下拉刷新",
|
||||
"ptrRelease": "正在刷新...",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"System": "系统管理",
|
||||
"userManage": "用户管理",
|
||||
"relationManage": "关系管理"
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
/// <reference path="../../templateFiles/polyfill.d.ts" />
|
||||
/// <reference path="./polyfill.d.ts" />
|
||||
|
||||
|
||||
declare global {
|
||||
|
|
|
|||
|
|
@ -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 (
|
||||
<Footer className={Style.footer}>
|
||||
<div className={Style.panel}>
|
||||
<span>
|
||||
Copyright © {new Date().getFullYear()}{' '}
|
||||
浙江大学计算机创新技术研究院
|
||||
{features.locales.t('copyright')}
|
||||
</span>
|
||||
</div>
|
||||
</Footer>
|
||||
|
|
|
|||
|
|
@ -8,9 +8,4 @@ export default OakComponent({
|
|||
};
|
||||
},
|
||||
features: ['console'],
|
||||
methods: {
|
||||
logout() {
|
||||
// this.features.xxxx.logout();
|
||||
}
|
||||
},
|
||||
})
|
||||
|
|
@ -1 +1 @@
|
|||
{"name":"Oak模板项目", "close": "关闭"}
|
||||
{"name":"Oak模板项目", "close": "关闭","modeUnset": "取消设置"}
|
||||
Loading…
Reference in New Issue