Commit 76b340c6 authored by 陈帅's avatar 陈帅

fix ts error

parent 1cd99a86
export interface itag { export interface ITag {
key: string; key: string;
label: string; label: string;
} }
export interface province { export interface IProvince {
label: string; label: string;
key: string; key: string;
} }
export interface city { export interface ICity {
label: string; label: string;
key: string; key: string;
} }
export interface geographic { export interface IGeographic {
province: Province; province: IProvince;
city: City; city: ICity;
} }
export interface notice { export interface INotice {
id: string; id: string;
title: string; title: string;
logo: string; logo: string;
...@@ -33,7 +33,7 @@ export interface currentuser { ...@@ -33,7 +33,7 @@ export interface currentuser {
name: string; name: string;
avatar: string; avatar: string;
userid: string; userid: string;
notice: Notice[]; notice: INotice[];
email: string; email: string;
signature: string; signature: string;
title: string; title: string;
...@@ -42,7 +42,7 @@ export interface currentuser { ...@@ -42,7 +42,7 @@ export interface currentuser {
notifyCount: number; notifyCount: number;
unreadCount: number; unreadCount: number;
country: string; country: string;
geographic: Geographic; geographic: IGeographic;
address: string; address: string;
phone: string; phone: string;
} }
export interface itag { export interface ITag {
key: string; key: string;
label: string; label: string;
} }
export interface province { export interface IProvince {
label: string; label: string;
key: string; key: string;
} }
export interface city { export interface ICity {
label: string; label: string;
key: string; key: string;
} }
export interface geographic { export interface IGeographic {
province: Province; province: IProvince;
city: City; city: ICity;
} }
export interface provincedata {
name: string; export interface INotice {
id: string;
}
export interface citydata {
province: string;
name: string;
id: string;
}
export interface notice {
id: string; id: string;
title: string; title: string;
logo: string; logo: string;
...@@ -41,7 +33,7 @@ export interface currentuser { ...@@ -41,7 +33,7 @@ export interface currentuser {
name: string; name: string;
avatar: string; avatar: string;
userid: string; userid: string;
notice: Notice[]; notice: INotice[];
email: string; email: string;
signature: string; signature: string;
title: string; title: string;
...@@ -50,7 +42,7 @@ export interface currentuser { ...@@ -50,7 +42,7 @@ export interface currentuser {
notifyCount: number; notifyCount: number;
unreadCount: number; unreadCount: number;
country: string; country: string;
geographic: Geographic; geographic: IGeographic;
address: string; address: string;
phone: string; phone: string;
} }
...@@ -3,7 +3,7 @@ import { formatMessage } from 'umi-plugin-react/locale'; ...@@ -3,7 +3,7 @@ import { formatMessage } from 'umi-plugin-react/locale';
import Link from 'umi/link'; import Link from 'umi/link';
import Exception from './components/Exception'; import Exception from './components/Exception';
const PAGE_NAME_UPPER_CAMEL_CASE: React.SFC = () => ( export default () => (
<Exception <Exception
type="403" type="403"
desc={formatMessage({ id: 'BLOCK_NAME.description.403' })} desc={formatMessage({ id: 'BLOCK_NAME.description.403' })}
...@@ -11,5 +11,3 @@ const PAGE_NAME_UPPER_CAMEL_CASE: React.SFC = () => ( ...@@ -11,5 +11,3 @@ const PAGE_NAME_UPPER_CAMEL_CASE: React.SFC = () => (
backText={formatMessage({ id: 'BLOCK_NAME.exception.back' })} backText={formatMessage({ id: 'BLOCK_NAME.exception.back' })}
/> />
); );
export default PAGE_NAME_UPPER_CAMEL_CASE;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment