mirror of
https://github.com/YMFE/yapi.git
synced 2025-01-06 12:45:22 +08:00
feat: 接口请求方式展示
This commit is contained in:
parent
a2a376e2f6
commit
8bdd7086c3
@ -254,9 +254,6 @@ class AddInterface extends Component {
|
|||||||
<Result isSave={isSave} mockJson={mockJson} />
|
<Result isSave={isSave} mockJson={mockJson} />
|
||||||
<MockUrl mockURL={mockURL} />
|
<MockUrl mockURL={mockURL} />
|
||||||
</TabPane>
|
</TabPane>
|
||||||
{
|
|
||||||
// <TabPane tab="Mock" key="2">mock</TabPane>
|
|
||||||
}
|
|
||||||
<TabPane tab="请求接口" key="3">
|
<TabPane tab="请求接口" key="3">
|
||||||
<InterfaceTest />
|
<InterfaceTest />
|
||||||
</TabPane>
|
</TabPane>
|
||||||
|
@ -65,10 +65,14 @@ class InterfaceTable extends Component {
|
|||||||
title: '接口名称',
|
title: '接口名称',
|
||||||
dataIndex: 'title',
|
dataIndex: 'title',
|
||||||
key: 'title'
|
key: 'title'
|
||||||
}, {
|
},{
|
||||||
title: '接口URL',
|
title: '接口URL',
|
||||||
dataIndex: 'path',
|
dataIndex: 'path',
|
||||||
key: 'path'
|
key: 'path'
|
||||||
|
},{
|
||||||
|
title: '请求方式',
|
||||||
|
dataIndex: 'method',
|
||||||
|
key: 'method'
|
||||||
},{
|
},{
|
||||||
title: '更新日期',
|
title: '更新日期',
|
||||||
dataIndex: 'add_time',
|
dataIndex: 'add_time',
|
||||||
|
Loading…
Reference in New Issue
Block a user