fix: 当前用户禁止删除/重置密码
This commit is contained in:
@@ -1061,7 +1061,7 @@ onMounted(() => {
|
||||
<template #icon><FormOutlined /></template>
|
||||
</a-button>
|
||||
</a-tooltip>
|
||||
<a-tooltip>
|
||||
<a-tooltip placement="topLeft" v-if="record.userId != userStore.userId">
|
||||
<template #title>{{ t('common.deleteText') }}</template>
|
||||
<a-button
|
||||
type="link"
|
||||
@@ -1071,7 +1071,7 @@ onMounted(() => {
|
||||
<template #icon><DeleteOutlined /></template>
|
||||
</a-button>
|
||||
</a-tooltip>
|
||||
<a-tooltip placement="topLeft">
|
||||
<a-tooltip placement="topLeft" v-if="record.userId != userStore.userId">
|
||||
<template #title>
|
||||
{{ t('views.system.user.resetPwd') }}
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user