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

fix ts error

parent 1cd99a86
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;
}
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;
}
......@@ -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 () => (
<Exception
type="403"
desc={formatMessage({ id: 'BLOCK_NAME.description.403' })}
......@@ -11,5 +11,3 @@ const PAGE_NAME_UPPER_CAMEL_CASE: React.SFC = () => (
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