diff --git a/src/pages/table-list/publisher/index.tsx b/src/pages/table-list/publisher/index.tsx index f2a05b5..9f82323 100644 --- a/src/pages/table-list/publisher/index.tsx +++ b/src/pages/table-list/publisher/index.tsx @@ -113,7 +113,7 @@ const TableList: React.FC = () => { }, { title: '最新通告发布时间', - dataIndex: 'lastUpdateTime', + dataIndex: 'lastPublishedTime', valueType: 'dateTime', sorter: true, renderText(created: string) { diff --git a/src/requestConfig.ts b/src/requestConfig.ts index 8031d48..fae81e9 100644 --- a/src/requestConfig.ts +++ b/src/requestConfig.ts @@ -13,9 +13,9 @@ import { IRequestResponse } from './types/http'; * @doc https://umijs.org/docs/max/request#配置 */ export const requestConfig: RequestConfig = { - // baseURL: 'https://neighbourhood.cn', - baseURL: (window.ENV?.BASE_URL || 'https://neighbourhood.cn') as string, + + baseURL: (window.ENV?.BASE_URL || 'https://neighbourhood.cn') as string, // 错误处理: umi@3 的错误处理方案。 errorConfig: { // 错误抛出