add docker support

This commit is contained in:
xd
2025-08-03 15:04:43 +08:00
2 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ const TableList: React.FC = () => {
}, },
{ {
title: '最新通告发布时间', title: '最新通告发布时间',
dataIndex: 'lastUpdateTime', dataIndex: 'lastPublishedTime',
valueType: 'dateTime', valueType: 'dateTime',
sorter: true, sorter: true,
renderText(created: string) { renderText(created: string) {

View File

@ -13,9 +13,9 @@ import { IRequestResponse } from './types/http';
* @doc https://umijs.org/docs/max/request#配置 * @doc https://umijs.org/docs/max/request#配置
*/ */
export const requestConfig: RequestConfig = { 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 的错误处理方案。 // 错误处理: umi@3 的错误处理方案。
errorConfig: { errorConfig: {
// 错误抛出 // 错误抛出