diff --git a/QMPlusVuePage/src/api/api.js b/QMPlusVuePage/src/api/api.js index a00d7a6d..30b452ca 100644 --- a/QMPlusVuePage/src/api/api.js +++ b/QMPlusVuePage/src/api/api.js @@ -101,39 +101,6 @@ export const getAllApis = (data) => { }) } -// @Tags authority -// @Summary 获取本角色所有有权限的apiId -// @Security ApiKeyAuth -// @accept application/json -// @Produce application/json -// @Param data body api.GetAuthorityId true "获取本角色所有有权限的apiId" -// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}" -// @Router /authority/getAuthAndApi [post] -export const getAuthAndApi = (data) => { - return service({ - url: "/api/getAuthAndApi", - method: 'post', - data - }) -} - - -// @Tags Api -// @Summary 创建api和角色关系 -// @Security ApiKeyAuth -// @accept application/json -// @Produce application/json -// @Param data body api.AuthAndPathIn true "创建api和角色关系" -// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}" -// @Router /api/setAuthAndApi [post] -export const setAuthAndApi = (data) => { - return service({ - url: "/api/setAuthAndApi", - method: 'post', - data - }) -} - // @Tags Api // @Summary 删除指定api // @Security ApiKeyAuth diff --git a/QMPlusVuePage/src/view/example/upload/upload.vue b/QMPlusVuePage/src/view/example/upload/upload.vue index cd62fdde..10e3421c 100644 --- a/QMPlusVuePage/src/view/example/upload/upload.vue +++ b/QMPlusVuePage/src/view/example/upload/upload.vue @@ -19,9 +19,7 @@ - - {{scope.row.UpdatedAt|formatDate}} - + {{scope.row.UpdatedAt|formatDate}} diff --git a/QMPlusVuePage/src/view/layout/aside/asideComponent/index.vue b/QMPlusVuePage/src/view/layout/aside/asideComponent/index.vue index dc3227f7..3bbcad7b 100644 --- a/QMPlusVuePage/src/view/layout/aside/asideComponent/index.vue +++ b/QMPlusVuePage/src/view/layout/aside/asideComponent/index.vue @@ -12,14 +12,14 @@ import AsyncSubmenu from './asyncSubmenu' export default { name: 'AsideComponent', - computed:{ - menuComponent(){ - if(this.routerInfo.children.length){ - return 'AsyncSubmenu' - }else{ - return 'MenuItem' - } + computed: { + menuComponent() { + if (this.routerInfo.children.length) { + return 'AsyncSubmenu' + } else { + return 'MenuItem' } + } }, props: { routerInfo: { diff --git a/QMPlusVuePage/src/view/layout/aside/index.vue b/QMPlusVuePage/src/view/layout/aside/index.vue index 51deac22..86b92f10 100644 --- a/QMPlusVuePage/src/view/layout/aside/index.vue +++ b/QMPlusVuePage/src/view/layout/aside/index.vue @@ -1,26 +1,21 @@ - - - - - - - - - - - + + + + + + @@ -61,8 +56,8 @@ export default {