浏览代码

修改获取notice的id

lrf402788946 5 年之前
父节点
当前提交
e74aeabee2
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;