diff --git a/AccountCenter/src/data.d.ts b/AccountCenter/src/data.d.ts index 792f502e4120c02ce36638564ff13e84493731e1..e1af4bb7b93ecfe1fc6dd6790631bed0ff58cd25 100644 --- a/AccountCenter/src/data.d.ts +++ b/AccountCenter/src/data.d.ts @@ -1,24 +1,24 @@ -export interface itag { +export interface ITag { key: string; label: string; } -export interface province { +export interface IProvince { label: string; key: string; } -export interface city { +export interface ICity { label: string; key: string; } -export interface geographic { - province: Province; - city: City; +export interface IGeographic { + province: IProvince; + city: ICity; } -export interface notice { +export interface INotice { id: string; title: string; logo: string; @@ -33,7 +33,7 @@ export interface currentuser { name: string; avatar: string; userid: string; - notice: Notice[]; + notice: INotice[]; email: string; signature: string; title: string; @@ -42,7 +42,7 @@ export interface currentuser { notifyCount: number; unreadCount: number; country: string; - geographic: Geographic; + geographic: IGeographic; address: string; phone: string; } diff --git a/AccountSettings/src/data.d.ts b/AccountSettings/src/data.d.ts index 04866919d28087d8070460f1107acac9960ce6a5..e1af4bb7b93ecfe1fc6dd6790631bed0ff58cd25 100644 --- a/AccountSettings/src/data.d.ts +++ b/AccountSettings/src/data.d.ts @@ -1,32 +1,24 @@ -export interface itag { +export interface ITag { key: string; label: string; } -export interface province { +export interface IProvince { label: string; key: string; } -export interface city { +export interface ICity { label: string; key: string; } -export interface geographic { - province: Province; - city: City; +export interface IGeographic { + province: IProvince; + city: ICity; } -export interface provincedata { - name: string; - id: string; -} -export interface citydata { - province: string; - name: string; - id: string; -} -export interface notice { + +export interface INotice { id: string; title: string; logo: string; @@ -41,7 +33,7 @@ export interface currentuser { name: string; avatar: string; userid: string; - notice: Notice[]; + notice: INotice[]; email: string; signature: string; title: string; @@ -50,7 +42,7 @@ export interface currentuser { notifyCount: number; unreadCount: number; country: string; - geographic: Geographic; + geographic: IGeographic; address: string; phone: string; } diff --git a/Exception403/src/index.tsx b/Exception403/src/index.tsx index 56371b237ca49733f6f2952d5b09acd21a33c92a..bba87ac1135a65e5d79500482377d048dedf446c 100644 --- a/Exception403/src/index.tsx +++ b/Exception403/src/index.tsx @@ -3,7 +3,7 @@ import { formatMessage } from 'umi-plugin-react/locale'; import Link from 'umi/link'; import Exception from './components/Exception'; -const PAGE_NAME_UPPER_CAMEL_CASE: React.SFC = () => ( +export default () => ( ( backText={formatMessage({ id: 'BLOCK_NAME.exception.back' })} /> ); - -export default PAGE_NAME_UPPER_CAMEL_CASE;