mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-15 05:10:47 +08:00
14 lines
345 B
JavaScript
14 lines
345 B
JavaScript
import AdvMock from './AdvMock'
|
|
import mockCol from './MockCol/mockColReducer.js'
|
|
|
|
module.exports = function(){
|
|
this.bindHook('interface_tab', function(tabs){
|
|
tabs.advMock = {
|
|
name: '高级Mock',
|
|
component: AdvMock
|
|
}
|
|
})
|
|
this.bindHook('add_reducer', function(reducerModules){
|
|
reducerModules.mockCol = mockCol;
|
|
})
|
|
} |