fix mock file structure
This commit is contained in:
@@ -11,6 +11,9 @@ function App({ children }: PropsWithChildren<any>) {
|
||||
Taro.request({
|
||||
url: getUrl('/user/locale/get'),
|
||||
method: 'GET',
|
||||
data: {
|
||||
token: 'token_test',
|
||||
},
|
||||
}).then(res => {
|
||||
console.log(res.data);
|
||||
pt.setLang(res.data.data.lang);
|
||||
|
||||
Reference in New Issue
Block a user