Commit ce1377bb by zhujian

fix:rtyuiopk

parent 77f9b151
......@@ -39,6 +39,7 @@ const App: React.FC = (props: any) => {
useEffect(() => {
initWechatConfig();
getStoreAndUserInfo();
console.log('拉取数据')
getVersion();
if (window.location.hash === "#/") {
window.RCHistory.replace({
......@@ -48,6 +49,7 @@ const App: React.FC = (props: any) => {
}, [])
async function initWechatConfig() {
await WechatApi.initConfig({ isAgentConfig: true, url: window.location.href.split('#')[0] })
console.log('微信注册完成')
}
useEffect(() => {
getStorePermission();
......
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