Commit 68332655 authored by 熊成伟's avatar 熊成伟

debug

parent 239ecde8
Pipeline #16635 passed with stages
in 1 minute and 3 seconds
......@@ -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 https://app.idt.thinker.vc/department/;
}
location /demo {
proxy_pass http://192.168.2.101:8889/demo/;
proxy_pass https://app.idt.thinker.vc/demo/;
}
location / {
......
......@@ -47,10 +47,10 @@
"target": "http://124.93.101.8:9988"
},
"/department": {
"target": "http://192.168.2.101:8889"
"target": "https://app.idt.thinker.vc"
},
"/demo": {
"target": "http://192.168.2.101:8889"
"target": "https://app.idt.thinker.vc"
}
}
}
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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment