feat(login): 修改默认登录方式为扫码登录
- 将登录页面的默认登录类型从短信登录改为扫码登录 - 移除了开发环境中的 API 地址配置注释 - 删除了系统演示页面的测试代码
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
VITE_APP_NAME=后台管理(开发环境)
|
VITE_APP_NAME=后台管理(开发环境)
|
||||||
VITE_API_URL=http://127.0.0.1:9200/api
|
#VITE_API_URL=http://127.0.0.1:9200/api
|
||||||
#VITE_SERVER_API_URL=http://127.0.0.1:8000/api
|
#VITE_SERVER_API_URL=http://127.0.0.1:8000/api
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -296,7 +296,7 @@ const direction = ref(0);
|
|||||||
// 加载状态
|
// 加载状态
|
||||||
const loading = ref(false);
|
const loading = ref(false);
|
||||||
// 是否显示tenantId填写输入框
|
// 是否显示tenantId填写输入框
|
||||||
const loginType = ref('sms');
|
const loginType = ref('scan');
|
||||||
const config = ref<Config>();
|
const config = ref<Config>();
|
||||||
// 配置信息
|
// 配置信息
|
||||||
const {form} = useFormData<User>({
|
const {form} = useFormData<User>({
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
<script setup lang="ts">
|
|
||||||
import { ref } from 'vue';
|
|
||||||
|
|
||||||
const top = ref<number>(10);
|
|
||||||
const bottom = ref<number>(10);
|
|
||||||
|
|
||||||
const change = (affixed: boolean) => {
|
|
||||||
console.log(affixed);
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<template>
|
|
||||||
<div class="ele-body">
|
|
||||||
<a-card title="测试页面" style="height: 2000px">
|
|
||||||
收到佛山市
|
|
||||||
<a-affix :offset-top="120" @change="change">
|
|
||||||
<a-button>120px to affix top</a-button>
|
|
||||||
</a-affix>
|
|
||||||
</a-card>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<style scoped lang="less"></style>
|
|
||||||
Reference in New Issue
Block a user