feat: docking Gf-Vben-Admin backend

This commit is contained in:
haha 2021-04-22 12:41:12 +08:00 committed by JinMao
parent 369f0f025e
commit 3cdf6c74f8
2 changed files with 2 additions and 15 deletions

View File

@ -205,7 +205,6 @@ function createAxios(opt?: Partial<CreateAxiosOptions>) {
// See https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication#authentication_schemes
// authentication schemese.g: Bearer
authenticationScheme: 'Bearer',
// authenticationScheme: '',
timeout: 10 * 1000,
// 基础接口地址
// baseURL: globSetting.apiUrl,

View File

@ -1,20 +1,8 @@
<template>
<LoginFormTitle v-show="getShow" class="enter-x" />
<Form
class="p-4 enter-x"
:model="formData"
:rules="getFormRules"
ref="formRef"
v-show="getShow"
@keypress.enter="handleLogin"
>
<Form class="p-4 enter-x" :model="formData" :rules="getFormRules" ref="formRef" v-show="getShow">
<FormItem name="account" class="enter-x">
<Input
size="large"
v-model:value="formData.account"
:placeholder="t('sys.login.userName')"
class="fix-auto-fill"
/>
<Input size="large" v-model:value="formData.account" :placeholder="t('sys.login.userName')" />
</FormItem>
<FormItem name="password" class="enter-x">
<InputPassword