Explorar o código

修改获取notice的id

lrf402788946 %!s(int64=5) %!d(string=hai) anos
pai
achega
e74aeabee2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;