mirror of
https://github.com/YMFE/yapi.git
synced 2025-01-24 13:14:16 +08:00
fix: 正确获取interfaceId
This commit is contained in:
parent
789f62b0c7
commit
b983ac538a
@ -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