From 2c6db5490489a484094fce6b4e0d3a801e669f02 Mon Sep 17 00:00:00 2001 From: rose <1942951600@qq.com> Date: Mon, 24 May 2021 11:37:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BD=AE=E6=92=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Rotation/Rotation.vue | 2 +- src/store/modules/home/actions.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Rotation/Rotation.vue b/src/components/Rotation/Rotation.vue index 728354f..79f0c2d 100644 --- a/src/components/Rotation/Rotation.vue +++ b/src/components/Rotation/Rotation.vue @@ -28,7 +28,7 @@ export default { methods: { async getData() { try { - const params = { param: { showPage: 0 } }; + const params = { param: { showPage: 0,showPosition:1 } }; const res = await queryRotation(params); const { code, data, msg } = res.data; if (code === 200) { diff --git a/src/store/modules/home/actions.js b/src/store/modules/home/actions.js index cf6194b..2954924 100644 --- a/src/store/modules/home/actions.js +++ b/src/store/modules/home/actions.js @@ -86,7 +86,7 @@ const actions = { */ async getQueryRotation({ commit }, showPage) { try { - const params = { param: { showPage } }; + const params = { param: { showPage,showPosition:1 } }; const res = await queryRotation(params); const { code, msg, data } = res.data; if (code === 200) {