|
@@ -86,9 +86,9 @@
|
|
|
<div class="flex-initial">
|
|
<div class="flex-initial">
|
|
|
<el-checkbox v-model:checked="autoLogin">自动登录</el-checkbox>
|
|
<el-checkbox v-model:checked="autoLogin">自动登录</el-checkbox>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="flex-initial order-last">
|
|
|
|
|
|
|
+ <!-- <div class="flex-initial order-last">
|
|
|
<a href="javascript:">忘记密码</a>
|
|
<a href="javascript:">忘记密码</a>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div> -->
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<el-form-item :show-label="false">
|
|
<el-form-item :show-label="false">
|
|
@@ -104,7 +104,7 @@
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<div class="mb-4 default-color">
|
|
<div class="mb-4 default-color">
|
|
|
- <div class="flex view-account-other">
|
|
|
|
|
|
|
+ <!-- <div class="flex view-account-other">
|
|
|
<div class="flex-initial">
|
|
<div class="flex-initial">
|
|
|
<span>其它登录方式</span>
|
|
<span>其它登录方式</span>
|
|
|
</div>
|
|
</div>
|
|
@@ -125,7 +125,7 @@
|
|
|
<div class="flex-initial" style="margin-left: auto">
|
|
<div class="flex-initial" style="margin-left: auto">
|
|
|
<a href="javascript:" @click="goRegister">注册账号</a>
|
|
<a href="javascript:" @click="goRegister">注册账号</a>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div> -->
|
|
|
</div>
|
|
</div>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</template>
|
|
</template>
|
|
@@ -138,7 +138,7 @@
|
|
|
import { ResultEnum } from '@/enums/httpEnum';
|
|
import { ResultEnum } from '@/enums/httpEnum';
|
|
|
import { initData, captchaBase64, tentantList } from '@/api/common/index';
|
|
import { initData, captchaBase64, tentantList } from '@/api/common/index';
|
|
|
import { CodeOutlined } from '@vicons/antd';
|
|
import { CodeOutlined } from '@vicons/antd';
|
|
|
- import { PersonOutline, LockClosedOutline, LogoGithub, LogoFacebook } from '@vicons/ionicons5';
|
|
|
|
|
|
|
+ import { PersonOutline, LockClosedOutline } from '@vicons/ionicons5';//LogoGithub, LogoFacebook
|
|
|
import { PageEnum } from '@/enums/pageEnum';
|
|
import { PageEnum } from '@/enums/pageEnum';
|
|
|
|
|
|
|
|
interface FormState {
|
|
interface FormState {
|
|
@@ -179,7 +179,7 @@
|
|
|
password: { required: true, message: '请输入密码', trigger: 'blur' },
|
|
password: { required: true, message: '请输入密码', trigger: 'blur' },
|
|
|
tenantId: { required: true, message: '请选择租户', type: 'number', trigger: 'change' },
|
|
tenantId: { required: true, message: '请选择租户', type: 'number', trigger: 'change' },
|
|
|
};
|
|
};
|
|
|
- const emit = defineEmits(['goRegister']);
|
|
|
|
|
|
|
+ // const emit = defineEmits(['goRegister']);
|
|
|
const userStore = useUserStore();
|
|
const userStore = useUserStore();
|
|
|
|
|
|
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
@@ -256,9 +256,9 @@
|
|
|
});
|
|
});
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- function goRegister() {
|
|
|
|
|
- emit('goRegister');
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // function goRegister() {
|
|
|
|
|
+ // emit('goRegister');
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
function getInitData() {
|
|
function getInitData() {
|
|
|
initData().then((res) => {
|
|
initData().then((res) => {
|