chore: 优化初始参数数据

This commit is contained in:
2023-09-23 20:46:32 +08:00
parent 6013211a09
commit d1288a0c4f
8 changed files with 28 additions and 19 deletions

View File

@@ -1,7 +1,6 @@
<template>
<div class="login-form-wrapper">
<div class="login-form-title">登录 {{ appStore.getTitle }}</div>
<div class="login-form-sub-title">{{ $t('login.form.subTitle') }}</div>
<a-form
ref="formRef"
:model="form"

View File

@@ -1,8 +1,4 @@
export default {
'login.form.title': 'Login to ContiNew Admin',
'login.form.subTitle':
'Continue to build the latest popular technology stack in the background management framework',
'login.form.placeholder.username': 'Please enter username',
'login.form.placeholder.password': 'Please enter password',
'login.form.placeholder.captcha': 'Please enter captcha',

View File

@@ -1,7 +1,4 @@
export default {
'login.form.title': '登录 ContiNew Admin',
'login.form.subTitle': '持续以最新流行技术栈构建的中后台管理框架',
'login.form.placeholder.username': '请输入用户名',
'login.form.placeholder.password': '请输入密码',
'login.form.placeholder.captcha': '请输入验证码',

View File

@@ -102,14 +102,26 @@
:label="siteTitle?.name"
field="site_title"
>
<a-input v-model="form.site_title" placeholder="请输入网站标题" />
<a-input
v-model="form.site_title"
placeholder="请输入网站标题"
:max-length="18"
/>
</a-form-item>
<a-form-item
class="input-item"
:label="siteCopyright?.name"
field="site_copyright"
tooltip="支持HTML标签"
>
<a-input v-model="form.site_copyright" placeholder="请输入版权信息" />
<a-textarea
v-model="form.site_copyright"
placeholder="请输入版权信息"
:auto-size="{
minRows: 3,
}"
show-word-limit
/>
</a-form-item>
<div style="margin-top: 20px">
<a-space>
@@ -391,10 +403,10 @@
<style scoped lang="less">
.logo {
width: 48px;
height: 48px;
min-width: 48px;
line-height: 48px;
width: 33px;
height: 33px;
min-width: 33px;
line-height: 33px;
}
.favicon {