Skip to content

Commit 86bb36f

Browse files
author
jinmh716
committed
【功能修复】用户管理:如果没有修改权限,则禁用状态开关
1 parent e995092 commit 86bb36f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/views/system/user/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
:active-value="0"
125125
:inactive-value="1"
126126
@change="handleStatusChange(scope.row)"
127+
:disabled="!checkPermi(['system:user:update'])"
127128
/>
128129
</template>
129130
</el-table-column>

0 commit comments

Comments
 (0)