feat: 功能测试

develop
JINGYJ 1 year ago
parent cb3a0b109d
commit 2aa5920b46

@ -34,7 +34,7 @@ export default {
},
'/api/': {
// 要代理的地址
target: 'http://192.168.10.31:8000/',
target: 'http://192.168.10.21:8000/',
// target: 'https://www.baidu.com',
// 配置了这个可以从 http 代理到 https
// 依赖 origin 的功能可能需要这个,比如 cookie

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

@ -1,7 +1,7 @@
export default {
'pages.layouts.userLayout.title': 'Ant Design 是西湖区最具影响力的 Web 设计规范',
'pages.login.accountLogin.tab': '账户密码登录',
'pages.login.accountLogin.errorMessage': '错误的用户名和密码(admin/ant.design)',
'pages.login.accountLogin.errorMessage': '用户名或密码错误',
'pages.login.failure': '登录失败,请重试!',
'pages.login.success': '登录成功!',
'pages.login.username.placeholder': '用户名: admin or user',

@ -125,7 +125,7 @@ const UpdateTimeForm: React.FC<UpdateFormProps> = (props) => {
justifyContent: 'flex-start',
alignItems: 'baseline'
}}>
<span style={{marginRight: 6}}></span>
<ProFormTimePicker
style={{
padding: '0 6px'
@ -169,7 +169,7 @@ const UpdateTimeForm: React.FC<UpdateFormProps> = (props) => {
initialValue={props.values.trigger_start_time}
disabled={false}
/> */}
<span style={{ margin: '0 6px' }}></span>
<ProFormTimePicker
width={100}
name="trigger_end_time"
@ -211,7 +211,7 @@ const UpdateTimeForm: React.FC<UpdateFormProps> = (props) => {
initialValue={props.values.trigger_end_time}
disabled={false}
/> */}
<span style={{marginLeft: 6}}></span>
{/* <span style={{ marginLeft: 6 }}></span> */}
</div>
</ProForm.Group>

@ -304,7 +304,7 @@ const Login: React.FC = () => {
<LoginMessage
content={intl.formatMessage({
id: 'pages.login.accountLogin.errorMessage',
defaultMessage: '账户或密码错误(admin/ant.design)',
defaultMessage: '账户或密码错误',
})}
/>
)}
@ -316,7 +316,7 @@ const Login: React.FC = () => {
size: 'large',
prefix: <UserOutlined className={'prefixIcon'} />,
}}
placeholder={'用户名:'}
placeholder={'请输入用户名'}
rules={[
{
required: true,
@ -337,7 +337,7 @@ const Login: React.FC = () => {
/>
),
}}
placeholder={'密码:'}
placeholder={'请输入密码'}
rules={[
{
required: true,

Loading…
Cancel
Save