mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
修复暗黑模式兼容
This commit is contained in:
parent
d238850b35
commit
a2510d6763
|
@ -7,6 +7,9 @@ import {
|
|||
} from '@ant-design/icons';
|
||||
|
||||
export default defineConfig({
|
||||
antd: {
|
||||
compact: true,
|
||||
},
|
||||
hash: true,
|
||||
layout: false,
|
||||
locale: {},
|
||||
|
|
|
@ -73,8 +73,6 @@ export default {
|
|||
pathname: '/',
|
||||
},
|
||||
fixSiderbar: true,
|
||||
navTheme: 'light',
|
||||
primaryColor: '#1890ff',
|
||||
contentWidth: 'Fixed',
|
||||
splitMenus: false,
|
||||
logo: logo,
|
||||
|
|
|
@ -66,11 +66,24 @@ const Password = () => {
|
|||
height: '100vh',
|
||||
}}
|
||||
>
|
||||
<Form onFinish={handleOk} style={{ padding: 20, background: '#fff', height: 'calc(100vh - 96px)' }}>
|
||||
<Form.Item name="username" rules={[{ required: true, message: '请输入用户名' }]} hasFeedback style={{width:300}}>
|
||||
<Input placeholder="用户名" autoFocus/>
|
||||
<Form
|
||||
onFinish={handleOk}
|
||||
style={{ padding: 20, height: 'calc(100vh - 96px)' }}
|
||||
>
|
||||
<Form.Item
|
||||
name="username"
|
||||
rules={[{ required: true, message: '请输入用户名' }]}
|
||||
hasFeedback
|
||||
style={{ width: 300 }}
|
||||
>
|
||||
<Input placeholder="用户名" autoFocus />
|
||||
</Form.Item>
|
||||
<Form.Item name="password" rules={[{ required: true, message: '请输入密码' }]} hasFeedback style={{width:300}}>
|
||||
<Form.Item
|
||||
name="password"
|
||||
rules={[{ required: true, message: '请输入密码' }]}
|
||||
hasFeedback
|
||||
style={{ width: 300 }}
|
||||
>
|
||||
<Input type="password" placeholder="密码" />
|
||||
</Form.Item>
|
||||
<Button type="primary" htmlType="submit">
|
||||
|
|
Loading…
Reference in New Issue
Block a user