diff --git a/src/views/modules/sys/user.vue b/src/views/modules/sys/user.vue index 34f805e..6261e42 100644 --- a/src/views/modules/sys/user.vue +++ b/src/views/modules/sys/user.vue @@ -42,15 +42,14 @@ - 0){ + console.log(1) + this.handleCurrentChange(this.dataList[0]) + } } else { this.dataList = [] this.totalPage = 0 @@ -1625,6 +1631,11 @@ export default { this.selectSitList=[]; this.userRoleList=[]; }, + rowStyle({row}){ + if (row.username === this.selectUser.username) { + return { 'background-color': '#E8F7F6', cursor: 'pointer' }; + } + }, }, created() { this.getFunctionButtonList()