Browse Source

修改轮播

master
rose 4 years ago
parent
commit
2c6db54904
  1. 2
      src/components/Rotation/Rotation.vue
  2. 2
      src/store/modules/home/actions.js

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

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

Loading…
Cancel
Save