From 307bdcf5c6b5bac297d5c3e52df9bb7893dde9d6 Mon Sep 17 00:00:00 2001 From: chutingting Date: Sat, 13 Jan 2024 15:53:54 +0800 Subject: [PATCH] edit --- src/api/article.js | 3 +-- src/views/metadaily/index.vue | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/api/article.js b/src/api/article.js index c9e1144..989c3d6 100644 --- a/src/api/article.js +++ b/src/api/article.js @@ -1,5 +1,5 @@ import request from './request' - +/* eslint-disable */ /** * 新闻列表 * @returns request @@ -23,4 +23,3 @@ export const videoListApi = (data) => { params: data }) } - \ No newline at end of file diff --git a/src/views/metadaily/index.vue b/src/views/metadaily/index.vue index 0985bd5..40d934d 100644 --- a/src/views/metadaily/index.vue +++ b/src/views/metadaily/index.vue @@ -94,10 +94,7 @@ export default { this.$router.push({ path: '/articleDetails' }) }, routerTo (type) { - this.$router.push({ path: '/articleList', query: { - type: 3, - subType: type - } }) + this.$router.push({ path: '/articleList', query: { type: 3, subType: type }}) // eslint-disable-line }, changenews (item) { this.getzixun()