浏览代码

修改新闻部分

lrf402788946 5 年之前
父节点
当前提交
5061636564
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/store.js

+ 1 - 1
src/store.js

@@ -304,7 +304,7 @@ export default new Vuex.Store({
       }
       }
       if (type === 'search') {
       if (type === 'search') {
         let { id } = data;
         let { id } = data;
-        result = await this.$axios.$get(api.fetch, {}, { id: id });
+        result = await this.$axios.$get(api.fetch, { id: id });
       }
       }
       return result;
       return result;
     },
     },