Commit 9af5fa16 by zhangleyuan

feat:打印定位bug

parent 57a1c76d
...@@ -6,8 +6,10 @@ import './index.less'; ...@@ -6,8 +6,10 @@ import './index.less';
function WorkWxAuthorize(props){ function WorkWxAuthorize(props){
const [scanState,setScanState] = useState(''); const [scanState,setScanState] = useState('');
const [messageText,setMessageText] = useState(''); const [messageText,setMessageText] = useState('');
useEffect(()=>{ useEffect(()=>{
const code = window.getParameterByName('code'); const code = window.getParameterByName('code');
console.log('我起作用了');
if(!code){ if(!code){
workWechatAuthorize(); workWechatAuthorize();
}else{ }else{
......
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