auth-web/src/components/Table/Userinfo/columns.tsx

15 lines
389 B
TypeScript
Raw Normal View History

import UserinfoDialog from '@/components/Table/Userinfo/UserinfoDialog.vue';
import { addDialog } from '@/components/BaseDialog/index';
/**
* *
* @param userId
*/
export const selectUserinfo = async (userId: string) => {
addDialog({
title: '查看用户信息',
draggable: true,
contentRenderer: (): JSX.Element => <UserinfoDialog userId={userId} />,
});
};