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) {