mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-15 05:10:47 +08:00
fix: 正确获取interfaceId
This commit is contained in:
parent
e4aa7fa037
commit
f3721d7a7a
@ -46,10 +46,9 @@ class Interface extends Component {
|
||||
|
||||
componentWillMount () {
|
||||
const interfaceId = this.getInterfaceId()
|
||||
console.log(interfaceId);
|
||||
const params = {
|
||||
params: {
|
||||
project_id: '2481'
|
||||
project_id: interfaceId
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user