From c4362a0d00e4093af123bd8d4b97ce30f54e37f0 Mon Sep 17 00:00:00 2001 From: liuyongli <1598631486@qq.com> Date: Wed, 17 Nov 2021 14:10:59 +0800 Subject: [PATCH] no message --- src/permission.js | 2 +- .../incidentSpreadSituation/index.vue | 23 +++++----- src/views/EventDEC/kmdED/index.vue | 16 +++---- .../EventDEC/mediaInterpretationED/index.vue | 43 ++++++------------- .../EventDEC/mediaInterpretationEc/index.vue | 23 ++++------ src/views/EventDEC/pnwcWord/index.vue | 39 +++++++++-------- src/views/EventDEC/wbUserEDE/index.vue | 15 +++---- 7 files changed, 68 insertions(+), 93 deletions(-) diff --git a/src/permission.js b/src/permission.js index 752e800..cd14f8b 100644 --- a/src/permission.js +++ b/src/permission.js @@ -30,7 +30,7 @@ router.afterEach(() => { // 检查菜单权限 function checkMenu(path, next) { let menuStr = store.getters.getMenu || []; - let arr = ['/index', '/modelInsight', '/eventInsight', '/marketingAnalysis']; + let arr = ['/modelInsight', '/eventInsight', '/marketingAnalysis']; let n = menuStr.findIndex(ele => ele.link === path); if(arr.includes(path) && n === -1) next('/index') else next() diff --git a/src/views/EventDEC/incidentSpreadSituation/index.vue b/src/views/EventDEC/incidentSpreadSituation/index.vue index 2a36ce8..2e8328b 100644 --- a/src/views/EventDEC/incidentSpreadSituation/index.vue +++ b/src/views/EventDEC/incidentSpreadSituation/index.vue @@ -9,7 +9,7 @@ diff --git a/src/views/EventDEC/wbUserEDE/index.vue b/src/views/EventDEC/wbUserEDE/index.vue index f8ac166..bc016cf 100644 --- a/src/views/EventDEC/wbUserEDE/index.vue +++ b/src/views/EventDEC/wbUserEDE/index.vue @@ -43,20 +43,19 @@ import createOpt from "./opt"; import { getAffections } from "@/api/EventdEC"; export default { name: "wbUserEDE", + props: { + id: { + type: String, + default: "", + }, + }, data() { return { load: false, - opt: createOpt(), + opt: {}, form: { token: "", sRele: "", - - }, - props: { - id: { - type: String, - default: "", - }, }, labelArr: [], total: 0,