Commit 76ccd267 by liangjianmin

fix(home): update API request to include a boolean flag for enhanced data retrieval

- Modify the API request in the home page to pass a boolean parameter, improving the functionality of the data retrieval process.
parent b7c70e62
Showing with 1 additions and 1 deletions
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
* @return {void} * @return {void}
*/ */
getData() { getData() {
this.request(API.getStatisticsInfo, 'POST', {}, false).then(res => { this.request(API.getStatisticsInfo, 'POST', {}, true).then(res => {
if (res.code === 0) { if (res.code === 0) {
this.info = res.data; this.info = res.data;
uni.setStorageSync('email', res.data.user_info.email); uni.setStorageSync('email', res.data.user_info.email);
......
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 sign in to comment