From e920e5170234f4da1965ed1c194341f4db4d7d23 Mon Sep 17 00:00:00 2001 From: chashaobao Date: Sun, 27 Jul 2025 23:51:37 +0800 Subject: [PATCH] feat: last update time --- package.json | 3 ++- src/pages/table-list/publisher/index.tsx | 2 +- src/requestConfig.ts | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index e992988..40ef9d0 100644 --- a/package.json +++ b/package.json @@ -96,5 +96,6 @@ }, "engines": { "node": ">=12.0.0" - } + }, + "packageManager": "pnpm@10.12.4+sha512.5ea8b0deed94ed68691c9bad4c955492705c5eeb8a87ef86bc62c74a26b037b08ff9570f108b2e4dbd1dd1a9186fea925e527f141c648e85af45631074680184" } 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 34488f7..1ae19dc 100644 --- a/src/requestConfig.ts +++ b/src/requestConfig.ts @@ -12,8 +12,8 @@ import { IRequestResponse } from './types/http'; * @doc https://umijs.org/docs/max/request#配置 */ export const requestConfig: RequestConfig = { - // baseURL: 'https://neighbourhood.cn', - baseURL: 'http://192.168.60.120:8082', + baseURL: 'https://neighbourhood.cn', + // baseURL: 'http://192.168.60.120:8082', // 错误处理: umi@3 的错误处理方案。 errorConfig: {