feat: last update time

This commit is contained in:
chashaobao
2025-07-27 23:51:37 +08:00
parent 403bd27f95
commit e920e51702
3 changed files with 5 additions and 4 deletions

View File

@ -96,5 +96,6 @@
}, },
"engines": { "engines": {
"node": ">=12.0.0" "node": ">=12.0.0"
} },
"packageManager": "pnpm@10.12.4+sha512.5ea8b0deed94ed68691c9bad4c955492705c5eeb8a87ef86bc62c74a26b037b08ff9570f108b2e4dbd1dd1a9186fea925e527f141c648e85af45631074680184"
} }

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

@ -12,8 +12,8 @@ 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: 'https://neighbourhood.cn',
baseURL: 'http://192.168.60.120:8082', // baseURL: 'http://192.168.60.120:8082',
// 错误处理: umi@3 的错误处理方案。 // 错误处理: umi@3 的错误处理方案。
errorConfig: { errorConfig: {