Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend
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
Schedules
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
h5-communicate
frontend
Commits
68332655
Commit
68332655
authored
Aug 03, 2020
by
熊成伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
239ecde8
Pipeline
#16635
passed with stages
in 1 minute and 3 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
default.conf
default.conf
+2
-2
package.json
package.json
+2
-2
Send.jsx
src/pages/Test/Send.jsx
+8
-1
No files found.
default.conf
View file @
68332655
...
...
@@ -9,10 +9,10 @@ server {
proxy_pass
http
://
124
.
93
.
101
.
8
:
9988
/
idtAppServiceV6
/;
}
location
/
department
{
proxy_pass
http
://
192
.
168
.
2
.
101
:
8889
/
department
/;
proxy_pass
http
s
://
app
.
idt
.
thinker
.
vc
/
department
/;
}
location
/
demo
{
proxy_pass
http
://
192
.
168
.
2
.
101
:
8889
/
demo
/;
proxy_pass
http
s
://
app
.
idt
.
thinker
.
vc
/
demo
/;
}
location
/ {
...
...
package.json
View file @
68332655
...
...
@@ -47,10 +47,10 @@
"target"
:
"http://124.93.101.8:9988"
},
"/department"
:
{
"target"
:
"http
://192.168.2.101:8889
"
"target"
:
"http
s://app.idt.thinker.vc
"
},
"/demo"
:
{
"target"
:
"http
://192.168.2.101:8889
"
"target"
:
"http
s://app.idt.thinker.vc
"
}
}
}
src/pages/Test/Send.jsx
View file @
68332655
import
React
,
{
useState
}
from
'react'
;
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
{
WingBlank
,
List
,
InputItem
,
WhiteSpace
,
DatePicker
,
Toast
,
ActivityIndicator
}
from
'antd-mobile'
import
Document
from
'react-document-title'
;
import
moment
from
'moment'
...
...
@@ -36,6 +36,13 @@ const Send = (props) => {
const
[
sP
,
setSP
]
=
useState
({});
const
[
personVisible
,
setPersonVisible
]
=
useState
(
false
);
const
[
loading
,
setLoading
]
=
useState
(
false
);
const
mqMedia
=
window
.
matchMedia
(
'(orientation: portrait)'
);
useEffect
(()
=>
{
console
.
log
(
mqMedia
,
mqMedia
.
matches
)
},[]);
return
(
<
Document
title=
"请假申请"
>
<
WingBlank
>
...
...
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