add log api & mock
This commit is contained in:
+11
-1
@@ -227,6 +227,16 @@ data:
|
|||||||
"op": "宇航员",
|
"op": "宇航员",
|
||||||
"time": "2024-03-07T19:52:48.523303",
|
"time": "2024-03-07T19:52:48.523303",
|
||||||
"operation": 2,
|
"operation": 2,
|
||||||
"target": {}, //TODO
|
"target": 1,
|
||||||
|
"prev": {
|
||||||
|
"id": 114,
|
||||||
|
"info": "马嘉祺"
|
||||||
|
},
|
||||||
|
"curr": {
|
||||||
|
"id": 514,
|
||||||
|
"info": "何君琳"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
```
|
```
|
||||||
|
|
||||||
|
前端显示的信息:"{op} 于 {time} {operation} 了 {target}:{prev.info} -> {curr.info}"
|
||||||
|
|||||||
+9
-1
@@ -47,7 +47,15 @@ const api = {
|
|||||||
op: '宇航员',
|
op: '宇航员',
|
||||||
time: '2024-03-07T19:52:48.523303',
|
time: '2024-03-07T19:52:48.523303',
|
||||||
operation: 2,
|
operation: 2,
|
||||||
target: {}, //TODO
|
target: 1,
|
||||||
|
prev: {
|
||||||
|
id: 114,
|
||||||
|
info: '马嘉祺',
|
||||||
|
},
|
||||||
|
curr: {
|
||||||
|
id: 514,
|
||||||
|
info: '何君琳',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -14,13 +14,7 @@ const data = [
|
|||||||
].map((item) => ({
|
].map((item) => ({
|
||||||
title: item,
|
title: item,
|
||||||
subTitle: <Tag color='#5BD8A6'>语雀专栏</Tag>,
|
subTitle: <Tag color='#5BD8A6'>语雀专栏</Tag>,
|
||||||
actions: [
|
actions: [<EllipsisOutlined />],
|
||||||
<a key='invite'>邀请</a>,
|
|
||||||
<a key='operate'>操作</a>,
|
|
||||||
<a key='rest'>
|
|
||||||
<EllipsisOutlined />
|
|
||||||
</a>,
|
|
||||||
],
|
|
||||||
avatar:
|
avatar:
|
||||||
'https://gw.alipayobjects.com/zos/antfincdn/UCSiy1j6jx/xingzhuang.svg',
|
'https://gw.alipayobjects.com/zos/antfincdn/UCSiy1j6jx/xingzhuang.svg',
|
||||||
content: (
|
content: (
|
||||||
|
|||||||
Reference in New Issue
Block a user