Browse Source

修改获取notice的id

lrf402788946 5 years ago
parent
commit
e74aeabee2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/store.js

+ 1 - 1
src/store.js

@@ -412,7 +412,7 @@ export default new Vuex.Store({
       let { skip, limit } = data;
       if (type === 'list') {
         let { userid, type } = data;
-        result = await this.$axios.$get(api.notice, {}, { userid: `2`, type: type, skip: skip, limit: limit });
+        result = await this.$axios.$get(api.notice, {}, { userid: userid, type: type, skip: skip, limit: limit });
       }
       if (type === 'delete') {
         let { id } = data;