Browse Source

密码展示优化

master
wenlele 2 years ago
parent
commit
fe9943c008
  1. 2
      web/client/src/sections/auth/containers/login.js
  2. 4
      web/client/src/sections/projectRegime/components/pointModel.js
  3. 4
      web/client/src/sections/projectRegime/components/projectAddModel.js
  4. 20
      web/log/development.txt

2
web/client/src/sections/auth/containers/login.js

@ -113,7 +113,7 @@ const Login = props => {
</Form.Item>
<Form.Item label='' name="password" rules={[{ required: true, message: '请输入密码' },]}>
<Input prefix={<LockOutlined className="site-form-item-icon" />} placeholder="密码" />
<Input.Password prefix={<LockOutlined className="site-form-item-icon" />} placeholder="密码" />
</Form.Item>
<Tooltip title='请联系管理员'>
<a style={{ position: 'relative', left: 348, top: -17 }}>忘记密码</a>

4
web/client/src/sections/projectRegime/components/pointModel.js

@ -57,7 +57,7 @@ const ProjectAddModel = ({ dispatch, actions, user, modelData, close, success, q
<div style={{}}>
{/* /^\d+$|^\d*\.\d+$/g */}
<Form.Item label="所在地区:" labelCol={{ span: 11 }} labelAlign='right' name="longitude" initialValue={modelData?.longitude} style={{ display: 'inline-block', width: 'calc(60% - 30px)', }}
rules={[{ required: true, message: '请输入横坐标', },{
rules={[{ required: true, message: '', },{
validator: (rule, value, callback) => {
const sjh = /^\d+$|^\d*\.\d+$/g;
if (value) {
@ -75,7 +75,7 @@ const ProjectAddModel = ({ dispatch, actions, user, modelData, close, success, q
</Form.Item>
~
<Form.Item name="latitude" initialValue={modelData?.latitude} style={{ display: 'inline-block', width: 'calc(40% + 15px)', }}
rules={[{ required: true, message: '请输入纵坐标', },{
rules={[{ required: true, message: '', },{
validator: (rule, value, callback) => {
const sjh = /^\d+$|^\d*\.\d+$/g;
if (value) {

4
web/client/src/sections/projectRegime/components/projectAddModel.js

@ -72,7 +72,7 @@ const ProjectAddModel = ({ dispatch, actions, user, modelData, close, success, f
<div style={{}}>
<Form.Item label="所在地区:" labelCol={{ span: 11 }} labelAlign='right' name="longitude" initialValue={modelData?.longitude} style={{ display: 'inline-block', width: 'calc(60% - 30px)', }}
rules={[{ required: true, message: '请输入横坐标',},{
rules={[{ required: true, message: '',},{
validator: (rule, value, callback) => {
const sjh = /^\d+$|^\d*\.\d+$/g;
if (value) {
@ -90,7 +90,7 @@ const ProjectAddModel = ({ dispatch, actions, user, modelData, close, success, f
</Form.Item>
~
<Form.Item name="latitude" initialValue={modelData?.latitude} style={{ display: 'inline-block', width: 'calc(40% + 15px)', }}
rules={[{ required: true, message: '请输入纵坐标', }, {
rules={[{ required: true, message: '', }, {
validator: (rule, value, callback) => {
const sjh = /^\d+$|^\d*\.\d+$/g;
if (value) {

20
web/log/development.txt

@ -4321,3 +4321,23 @@
2023-01-18 23:40:18.330 - debug: [FS-LOGGER] Init.
2023-01-18 23:40:18.338 - debug: init fs.attachment and inject it into app(app.fs.attachment) and runtime ctx(ctx.fs.attachment)
2023-01-18 23:40:18.674 - info: [Router] Inject api: attachment/index
2023-01-19 10:20:34.885 - info: extNames
[
'/_file-server/project/e0bd9eaf-e4b9-4e85-aed9-77c668dbb92a/1',
'jpg'
]
2023-01-19 10:22:47.736 - info: extNames
[
'/_file-server/project/e0bd9eaf-e4b9-4e85-aed9-77c668dbb92a/1',
'jpg'
]
2023-01-19 10:25:48.874 - info: extNames
[
'/_file-server/project/e0bd9eaf-e4b9-4e85-aed9-77c668dbb92a/1',
'jpg'
]
2023-01-19 10:31:43.201 - info: extNames
[
'/_file-server/project/e0bd9eaf-e4b9-4e85-aed9-77c668dbb92a/1',
'jpg'
]

Loading…
Cancel
Save