mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +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} />
|
||||
<MockUrl mockURL={mockURL} />
|
||||
</TabPane>
|
||||
{
|
||||
// <TabPane tab="Mock" key="2">mock</TabPane>
|
||||
}
|
||||
<TabPane tab="请求接口" key="3">
|
||||
<InterfaceTest />
|
||||
</TabPane>
|
||||
|
@ -65,10 +65,14 @@ class InterfaceTable extends Component {
|
||||
title: '接口名称',
|
||||
dataIndex: 'title',
|
||||
key: 'title'
|
||||
}, {
|
||||
},{
|
||||
title: '接口URL',
|
||||
dataIndex: 'path',
|
||||
key: 'path'
|
||||
},{
|
||||
title: '请求方式',
|
||||
dataIndex: 'method',
|
||||
key: 'method'
|
||||
},{
|
||||
title: '更新日期',
|
||||
dataIndex: 'add_time',
|
||||
|
Loading…
Reference in New Issue
Block a user