说明内容支持markdown格式,文件名、方法名、注释优化

This commit is contained in:
暮光:城中城
2021-11-23 22:58:10 +08:00
parent b32c9a8f9e
commit f9fb9c2f70
10 changed files with 209 additions and 72 deletions

View File

@@ -8,7 +8,7 @@ export default createStore({
pageTabNameMap: {},
swaggerDoc: {},
swaggerDefinitions: {},
swaggerTreePathMap: {},
urlMethodMap: {},
methodStatistic: {},
// 数据库存储的地址信息
swaggerResource: {},
@@ -33,8 +33,8 @@ export default createStore({
state.swaggerDoc = swaggerDoc;
state.swaggerDefinitions = swaggerDoc.definitions || {};
},
setSwaggerTreePathMap(state, swaggerTreePathMap) {
state.swaggerTreePathMap = swaggerTreePathMap;
setUrlMethodMap(state, urlMethodMap) {
state.urlMethodMap = urlMethodMap;
},
setMethodStatistic(state, methodStatistic) {
state.methodStatistic = methodStatistic;