Pre Merge pull request !144 from dhb52/dev

This commit is contained in:
dhb52 2024-09-09 14:55:58 +00:00 committed by Gitee
commit dc8a2530f2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 3 deletions

View File

@ -64,7 +64,7 @@ export interface UserForm {
status: string;
remark?: string;
postIds: string[];
roleIds: string[];
roleIds: number[];
}
export interface UserInfoVO {

View File

@ -72,10 +72,12 @@ import { HttpStatus } from '@/enums/RespEnum';
const userStore = useUserStore();
const router = useRouter();
const isProd = import.meta.env.VITE_APP_ENV === 'production';
const loginForm = ref<LoginData>({
tenantId: '000000',
username: 'admin',
password: 'admin123',
username: isProd ? '' : 'admin',
password: isProd ? '' : 'admin123',
rememberMe: false,
code: '',
uuid: ''