feat(login): 修改默认登录方式为扫码登录

- 将登录页面的默认登录类型从短信登录改为扫码登录
- 移除了开发环境中的 API 地址配置注释
- 删除了系统演示页面的测试代码
This commit is contained in:
2025-10-18 11:44:42 +08:00
parent 1763b6910c
commit 98e9f51b52
8 changed files with 2 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
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

View File

@@ -296,7 +296,7 @@ const direction = ref(0);
// 加载状态
const loading = ref(false);
// 是否显示tenantId填写输入框
const loginType = ref('sms');
const loginType = ref('scan');
const config = ref<Config>();
// 配置信息
const {form} = useFormData<User>({

View File

@@ -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>