全局参数化加入请求参数中,参数支持多行编辑,展示值转换,细节优化

This commit is contained in:
暮光:城中城
2021-11-09 22:54:37 +08:00
parent 265ad08d3e
commit cabc693119
10 changed files with 218 additions and 67 deletions

View File

@@ -12,12 +12,17 @@ export default createStore({
methodStatistic: {},
// 数据库存储的地址信息
swaggerResource: {},
// 全局参数
globalParam: [],
}
},
mutations: {
setUserInfo(state, userInfo) {
state.userInfo = userInfo;
},
setGlobalParam(state, globalParam) {
state.globalParam = globalParam;
},
setSwaggerResource(state, swaggerResource) {
state.swaggerResource = swaggerResource;
},