修改已知问题
This commit is contained in:
@@ -1080,7 +1080,7 @@
|
|||||||
this.formInlineRoleSwitching.roleSwitchingCode = '0'
|
this.formInlineRoleSwitching.roleSwitchingCode = '0'
|
||||||
}
|
}
|
||||||
if (!(this.roleSwitchingList.some(val => val.roleCode == this.formInlineRoleSwitching.roleSwitchingCode))) {
|
if (!(this.roleSwitchingList.some(val => val.roleCode == this.formInlineRoleSwitching.roleSwitchingCode))) {
|
||||||
this.formInlineRoleSwitching.roleSwitchingCode = this.roleSwitchingList[0].roleCode
|
this.formInlineRoleSwitching.roleSwitchingCode = this.roleSwitchingList[0] ? this.roleSwitchingList[0].roleCode : ''
|
||||||
}
|
}
|
||||||
this.formInlineRoleSwitching = { ...this.formInlineRoleSwitching }
|
this.formInlineRoleSwitching = { ...this.formInlineRoleSwitching }
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user