diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 1f9d3f8f..d13e9bd1 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -33,6 +33,7 @@ import useUserStore from '@/store/modules/user';
import { DataNode } from 'ant-design-vue/lib/tree';
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
const { getDict } = useDictStore();
+const userStore = useUserStore();
/**字典数据 */
let dict: {
@@ -341,7 +342,7 @@ function fnModalVisibleByVive(userId: string | number) {
modalState.from.roleIds = roleIds;
modalState.from.postIds = postIds;
// 头像解析
- modalState.from.avatar = useUserStore().fnAvatar(modalState.from.avatar);
+ modalState.from.avatar = userStore.fnAvatar(modalState.from.avatar);
modalState.title = '用户信息';
modalState.visibleByView = true;
} else {
@@ -974,8 +975,15 @@ onMounted(() => {
{{ record.dept?.deptName }}
+
{
size="small"
@change="fnRecordStatus(record)"
/>
-