fix mock file structure

This commit is contained in:
Dawn_Ocean
2024-03-08 22:27:13 +08:00
parent 88cdb6cb92
commit b174304d74
9 changed files with 75 additions and 101 deletions
+3
View File
@@ -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);