修改禅道已知bug
This commit is contained in:
@@ -400,6 +400,7 @@
|
||||
paramsManifestId: this.$route.query.id,
|
||||
projectId: this.$route.query.projectId
|
||||
}
|
||||
this.loading = true
|
||||
getAction(this.url.getLoginUserType, params).then((res) => {
|
||||
if (res.success) {
|
||||
this.getAndUserId(res.result)
|
||||
@@ -415,6 +416,9 @@
|
||||
getAction('/params/userTypeLog/queryCurrentType', query).then((res) => {
|
||||
if (res.success) {
|
||||
if (res.result && res.result.userType) {
|
||||
if (!(result.some(val => val.value == res.result.userType))) {
|
||||
res.result.userType = result[0] ? result[0].value : ''
|
||||
}
|
||||
this.getTableList(res.result.userType)
|
||||
} else {
|
||||
this.getTableList(result[0].value)
|
||||
|
||||
Reference in New Issue
Block a user