Revert "update 优化 删除无用变量"
This reverts commit 150f1d793c8f471f68aa5c7f6dc5867d4afd7d81.
This commit is contained in:
parent
484db3c09e
commit
116a214ce6
@ -85,9 +85,11 @@ import { useUserStore } from '@/store/modules/user';
|
|||||||
import { LoginData, TenantVO } from '@/api/types';
|
import { LoginData, TenantVO } from '@/api/types';
|
||||||
import { to } from 'await-to-js';
|
import { to } from 'await-to-js';
|
||||||
import { HttpStatus } from '@/enums/RespEnum';
|
import { HttpStatus } from '@/enums/RespEnum';
|
||||||
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
const { t } = useI18n();
|
||||||
|
|
||||||
const loginForm = ref<LoginData>({
|
const loginForm = ref<LoginData>({
|
||||||
tenantId: '000000',
|
tenantId: '000000',
|
||||||
|
@ -76,9 +76,12 @@
|
|||||||
import { getCodeImg, register, getTenantList } from '@/api/login';
|
import { getCodeImg, register, getTenantList } from '@/api/login';
|
||||||
import { RegisterForm, TenantVO } from '@/api/types';
|
import { RegisterForm, TenantVO } from '@/api/types';
|
||||||
import { to } from 'await-to-js';
|
import { to } from 'await-to-js';
|
||||||
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
|
const { t } = useI18n();
|
||||||
|
|
||||||
const registerForm = ref<RegisterForm>({
|
const registerForm = ref<RegisterForm>({
|
||||||
tenantId: '',
|
tenantId: '',
|
||||||
username: '',
|
username: '',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user