fork from bc4552c5a8
This commit is contained in:
12
exts/yapi-plugin-swagger-auto-sync/client.js
Normal file
12
exts/yapi-plugin-swagger-auto-sync/client.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import swaggerAutoSync from './swaggerAutoSync/swaggerAutoSync.js'
|
||||
|
||||
function hander(routers) {
|
||||
routers.test = {
|
||||
name: 'Swagger自动同步',
|
||||
component: swaggerAutoSync
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = function() {
|
||||
this.bindHook('sub_setting_nav', hander);
|
||||
};
|
||||
Reference in New Issue
Block a user