Explorar o código

feat:公告列表新增跳转链接

zhubo %!s(int64=2) %!d(string=hai) anos
pai
achega
628d7e810c
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      src/pages/notice/index.tsx

+ 8 - 0
src/pages/notice/index.tsx

@@ -155,6 +155,14 @@ const Notice: React.FC<IProps> = ({ dispatch, roleList }) => {
             dataIndex="createTime"
             render={(text) => <span>{filterTimestamp(text)}</span>}
           ></Table.Column>
+          <Table.Column
+            title="跳转链接"
+            key="jumpPath"
+            dataIndex="jumpPath"
+            render={(text, record: Record<string, any>) => (
+              <span>/pages/home/notice?id={record.id}</span>
+            )}
+          ></Table.Column>
           <Table.Column
             title="操作"
             key="action"