소스 검색

修改获取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;