Browse Source

登录,设置,项目

master
zhangli 1 year ago
parent
commit
e1b20f71e8
  1. 2
      src/layout/Layout.vue
  2. 4
      src/layout/components/UserInfo/src/UserInfo.vue
  3. 6
      src/views/Login/components/LoginForm.vue

2
src/layout/Layout.vue

@ -59,7 +59,7 @@ export default defineComponent({
<Backtop></Backtop> <Backtop></Backtop>
<Setting></Setting> {/* <Setting></Setting> */}
</section> </section>
) )
} }

4
src/layout/components/UserInfo/src/UserInfo.vue

@ -64,10 +64,10 @@ const toDocument = () => {
<Icon icon="ep:tools" /> <Icon icon="ep:tools" />
<div @click="toProfile">{{ t('common.profile') }}</div> <div @click="toProfile">{{ t('common.profile') }}</div>
</ElDropdownItem> </ElDropdownItem>
<ElDropdownItem> <!-- <ElDropdownItem>
<Icon icon="ep:menu" /> <Icon icon="ep:menu" />
<div @click="toDocument">{{ t('common.document') }}</div> <div @click="toDocument">{{ t('common.document') }}</div>
</ElDropdownItem> </ElDropdownItem> -->
<ElDropdownItem divided @click="loginOut"> <ElDropdownItem divided @click="loginOut">
<Icon icon="ep:switch-button" /> <Icon icon="ep:switch-button" />
<div>{{ t('common.loginOut') }}</div> <div>{{ t('common.loginOut') }}</div>

6
src/views/Login/components/LoginForm.vue

@ -60,17 +60,17 @@
:title="t('login.login')" :title="t('login.login')"
class="w-[100%]" class="w-[100%]"
type="primary" type="primary"
@click="getCode()" @click="handleLogin"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<Verify <!-- <Verify
ref="verify" ref="verify"
:captchaType="captchaType" :captchaType="captchaType"
:imgSize="{ width: '400px', height: '200px' }" :imgSize="{ width: '400px', height: '200px' }"
mode="pop" mode="pop"
@success="handleLogin" @success="handleLogin"
/> /> -->
</el-row> </el-row>
</el-form> </el-form>
</template> </template>

Loading…
Cancel
Save