[update]
This commit is contained in:
@@ -488,6 +488,7 @@ export default {
|
||||
handleOkRoleSwitching() {
|
||||
this.visibleRoleSwitching = false
|
||||
this.currentPersonRole = this.formInlineRoleSwitching.roleSwitchingCode
|
||||
localStorage.setItem('currentPersonRole', JSON.stringify(this.formInlineRoleSwitching.roleSwitchingCode))
|
||||
this.selectedRowKeysValue = []
|
||||
},
|
||||
roleSwitchingClick() {
|
||||
@@ -772,7 +773,7 @@ export default {
|
||||
this.currentPersonRole = val.length >= 1 ? val[0].value : ''
|
||||
}
|
||||
this.RoleType = val
|
||||
this.formInlineRoleSwitching.roleSwitchingCode = this.currentPersonRole
|
||||
this.formInlineRoleSwitching.roleSwitchingCode = JSON.parse(localStorage.getItem('currentPersonRole')) === null ? this.currentPersonRole : JSON.parse(localStorage.getItem('currentPersonRole'))
|
||||
this.formInlineRoleSwitching = {...this.formInlineRoleSwitching}
|
||||
},
|
||||
// 表格所选中得行内容
|
||||
|
||||
Reference in New Issue
Block a user