|
@@ -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"
|
|
|
})
|
|
|
}
|
|
|
|