Commit 9af5fa16 by zhangleyuan

feat:打印定位bug

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