浏览代码

开放平台

XW 2 年之前
父节点
当前提交
c9baf45e4b
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      TEAMModelOS/ClientApp/src/view/settings/OpenMgmt2.vue

+ 4 - 4
TEAMModelOS/ClientApp/src/view/settings/OpenMgmt2.vue

@@ -259,7 +259,7 @@ export default {
             if (this.apiList && this.openMgInfo && this.openMgInfo.auths) {
                 return this.apiList.filter((item) => {
                     item._checked = this.openMgInfo.auths.includes(item.auth)
-                    return item.type == "r"
+                    return item.type == "R"
                 })
             } else {
                 return []
@@ -270,7 +270,7 @@ export default {
             if (this.apiList && this.openMgInfo && this.openMgInfo.auths) {
                 return this.apiList.filter((item) => {
                     item._checked = this.openMgInfo.auths.includes(item.auth)
-                    return item.type == "w"
+                    return item.type == "W"
                 })
             } else {
                 return []
@@ -364,10 +364,10 @@ export default {
                     return this.openMgInfo.auths.includes(item.auth)
                 })
                 this.apiListSelR = schoolApi.filter((item) => {
-                    return item.type == "r"
+                    return item.type == "R"
                 })
                 this.apiListSelW = schoolApi.filter((item) => {
-                    return item.type == "w"
+                    return item.type == "W"
                 })
             }