登录页和注册页表头使用VUE_APP_TITLE配置值

This commit is contained in:
RuoYi
2025-03-18 15:56:20 +08:00
parent ea552797b5
commit 4b038efabf
2 changed files with 5 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div class="register">
<el-form ref="registerRef" :model="registerForm" :rules="registerRules" class="register-form">
<h3 class="title">若依后台管理系统</h3>
<h3 class="title">{{ title }}</h3>
<el-form-item prop="username">
<el-input
v-model="registerForm.username"
@@ -79,6 +79,7 @@
import { ElMessageBox } from "element-plus";
import { getCodeImg, register } from "@/api/login";
const title = import.meta.env.VITE_APP_TITLE;
const router = useRouter();
const { proxy } = getCurrentInstance();