feat: production环境登录页面不提供账号密码
This commit is contained in:
parent
483af13741
commit
9a06bad8e4
@ -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: ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user