File tree Expand file tree Collapse file tree 7 files changed +44
-5
lines changed
Expand file tree Collapse file tree 7 files changed +44
-5
lines changed Original file line number Diff line number Diff line change 11@font-face {
22 font-family : "iconfont" ; /* Project id 3325204 */
3- src : url ('iconfont.woff2?t=1660890049058 ' ) format ('woff2' ),
4- url ('iconfont.woff?t=1660890049058 ' ) format ('woff' ),
5- url ('iconfont.ttf?t=1660890049058 ' ) format ('truetype' );
3+ src : url ('iconfont.woff2?t=1662088373384 ' ) format ('woff2' ),
4+ url ('iconfont.woff?t=1662088373384 ' ) format ('woff' ),
5+ url ('iconfont.ttf?t=1662088373384 ' ) format ('truetype' );
66}
77
88.iconfont {
1313 -moz-osx-font-smoothing : grayscale;
1414}
1515
16+ .icon-reject : before {
17+ content : "\e775" ;
18+ }
19+
20+ .icon-pending : before {
21+ content : "\e776" ;
22+ }
23+
24+ .icon-wait : before {
25+ content : "\e777" ;
26+ }
27+
28+ .icon-withdraw : before {
29+ content : "\e778" ;
30+ }
31+
32+ .icon-connect-sdk : before {
33+ content : "\e773" ;
34+ }
35+
36+ .icon-setting : before {
37+ content : "\e774" ;
38+ }
39+
40+ .icon-filter : before {
41+ content : "\e772" ;
42+ }
43+
44+ .icon-info : before {
45+ content : "\e771" ;
46+ }
47+
1648.icon-back : before {
1749 content : "\e770" ;
1850}
Original file line number Diff line number Diff line change @@ -38,7 +38,10 @@ const DemoLogin = () => {
3838 } , [ history ] ) ;
3939
4040 const onSubmit = useCallback ( async ( params ) => {
41- const res = await demoLogin < IUserInfo > ( params ) ;
41+ const res = await demoLogin < IUserInfo > ( {
42+ source : 'platform' ,
43+ ...params
44+ } ) ;
4245 const { success, data } = res ;
4346 if ( success && data ) {
4447 localStorage . setItem ( 'token' , data . token ) ;
Original file line number Diff line number Diff line change @@ -38,7 +38,10 @@ const Login = () => {
3838 } , [ history ] ) ;
3939
4040 const onSubmit = useCallback ( async ( params ) => {
41- const res = await login < IUserInfo > ( params ) ;
41+ const res = await login < IUserInfo > ( {
42+ source : 'platform' ,
43+ ...params
44+ } ) ;
4245 const { success, data } = res ;
4346 if ( success && data ) {
4447 localStorage . setItem ( 'token' , data . token ) ;
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { ApplicationJson } from 'constants/api/contentType';
55interface ILoginParams {
66 account : string ;
77 password : string ;
8+ source ?: string ;
89}
910
1011export const getUserInfo = async < T > ( ) => {
You can’t perform that action at this time.
0 commit comments