@@ -22,6 +22,9 @@ export function App() {
<Route path="/home">
<Home />
</Route>
+ <Route path="/home1">
+ <Home />
+ </Route>
<Route path="/user">
<User />
@@ -33,7 +33,7 @@ export const Home: React.FC = (props: any) => {
"phoneType": 2
}).then(res=>{
console.log(res.data.data)
- WX.chooseWXPay({appId:'wx457ba48e0801c0b6',...res.data.data})
+ WX.chooseWXPay({...res.data.data})
})
// wx.chooseWXPay()
}