Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
308828cd
Commit
308828cd
authored
Mar 12, 2025
by
陶晶晶
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://g.civnet.cn:8443/ReactWeb5/CivWeb
parents
7831ab33
f317b257
Pipeline
#96158
waiting for manual action with stages
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
8 deletions
+10
-8
index.js
src/pages/user/login/index.js
+2
-2
index.js
src/pages/user/login/template/current/index.js
+0
-5
index.js
src/pages/user/login/template/project/wuliangyenew/index.js
+8
-0
index.js
src/pages/user/login/template/transparent/index.js
+0
-1
No files found.
src/pages/user/login/index.js
View file @
308828cd
/*
* @Author: 634665781 634665781@qq.com
* @Date: 2022-07-08 14:28:01
* @LastEditors:
Please set LastEditors
* @LastEditTime: 2025-0
2-13 17:06:31
* @LastEditors:
634665781 634665781@qq.com
* @LastEditTime: 2025-0
3-12 17:39:48
* @FilePath: \CivWeb\src\pages\user\login\index.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
src/pages/user/login/template/current/index.js
View file @
308828cd
...
...
@@ -21,9 +21,6 @@ let titleBg=''
class
HuaNongLogin
extends
Component
{
constructor
(
props
)
{
super
(
props
);
console
.
log
(
props
.
loginParams
,
this
.
props
.
global
.
logo
,
' props.loginParams'
,
window
.
globalConfig
.
variableTheme
,
'通用登录页。。。。。。。。。。。。。。。。。。。。。。'
);
this
.
state
=
{
time
:
'16:00'
,
week
:
'星期一'
,
...
...
@@ -151,8 +148,6 @@ class HuaNongLogin extends Component {
this
.
timeTimer
&&
clearInterval
(
this
.
timeTimer
);
}
componentDidMount
()
{
console
.
log
(
this
.
props
);
console
.
log
(
this
);
this
.
onActinoChange
(
this
.
state
.
action
);
this
.
getCurrentTime
(
this
.
showTime
);
}
...
...
src/pages/user/login/template/project/wuliangyenew/index.js
View file @
308828cd
...
...
@@ -84,10 +84,18 @@ const Login = forwardRef((props, _ref) => {
action
.
events
.
on
(
'loginVisible'
,
status
=>
{
setVisible
(
status
);
});
action
.
events
.
on
(
'loginHomePage'
,
()
=>
{
props
.
history
.
push
(
`/homePage`
);
});
action
.
events
.
on
(
'loginIndustry'
,
()
=>
{
props
.
history
.
push
(
`/industry`
);
});
return
()
=>
{
action
&&
action
.
events
&&
action
.
events
.
removeAllListeners
(
'loginSuccess'
);
action
&&
action
.
events
&&
action
.
events
.
removeAllListeners
(
'loginError'
);
action
&&
action
.
events
&&
action
.
events
.
removeAllListeners
(
'loginVisible'
);
action
&&
action
.
events
&&
action
.
events
.
removeAllListeners
(
'loginHomePage'
);
action
&&
action
.
events
&&
action
.
events
.
removeAllListeners
(
'loginIndustry'
);
};
},
[
props
.
loginMode
]);
...
...
src/pages/user/login/template/transparent/index.js
View file @
308828cd
...
...
@@ -38,7 +38,6 @@ const PopOvercontent = () => {
};
const
Login
=
forwardRef
((
props
,
_ref
)
=>
{
console
.
log
(
props
,
'propspropsprops'
);
const
sliVerify
=
useRef
();
const
loginFormRef
=
useRef
();
const
formRef
=
useRef
(
null
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment