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