fix: 第三方用户不可删除和修改密码
This commit is contained in:
@@ -1124,7 +1124,9 @@ onMounted(() => {
|
|||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<a-tooltip
|
<a-tooltip
|
||||||
placement="topLeft"
|
placement="topLeft"
|
||||||
v-if="record.userId != userStore.userId"
|
v-if="
|
||||||
|
record.userId != userStore.userId && record.userSource == '#'
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<template #title>{{ t('common.deleteText') }}</template>
|
<template #title>{{ t('common.deleteText') }}</template>
|
||||||
<a-button
|
<a-button
|
||||||
@@ -1137,7 +1139,9 @@ onMounted(() => {
|
|||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<a-tooltip
|
<a-tooltip
|
||||||
placement="topLeft"
|
placement="topLeft"
|
||||||
v-if="record.userId != userStore.userId"
|
v-if="
|
||||||
|
record.userId != userStore.userId && record.userSource == '#'
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<template #title>
|
<template #title>
|
||||||
{{ t('views.system.user.resetPwd') }}
|
{{ t('views.system.user.resetPwd') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user