diff --git a/src/lycomponents/iHeader/index.vue b/src/lycomponents/iHeader/index.vue
index 005d36c..2602957 100644
--- a/src/lycomponents/iHeader/index.vue
+++ b/src/lycomponents/iHeader/index.vue
@@ -24,7 +24,7 @@
菜单
-
+
{{ item.value }}
@@ -73,8 +73,18 @@ export default {
week: "",
intDt: null,
selDatas: [],
+ timeShow: true
};
},
+ watch: {
+ $route(to) {
+ if(to.path === '/eventDEC') {
+ this.timeShow = false;
+ } else {
+ this.timeShow = true;
+ }
+ },
+ },
created() {
this.getTime();
},
@@ -104,7 +114,10 @@ export default {
handlerType(obj) {
if (obj.key === "marketingAnalysis") {
this.setHeaderType(2);
- } else if(obj.key === 'brandInsight' || obj.key === 'modelInsight') {
+ } else if (
+ obj.key === "brandInsight" ||
+ obj.key === "modelInsight"
+ ) {
this.setHeaderType(3);
} else {
this.setHeaderType(1);
diff --git a/src/mixins/index.js b/src/mixins/index.js
index e7b57b6..fd9334a 100644
--- a/src/mixins/index.js
+++ b/src/mixins/index.js
@@ -1,7 +1,7 @@
/*
* @Author: your name
* @Date: 2021-10-12 13:56:13
- * @LastEditTime: 2021-11-09 18:11:18
+ * @LastEditTime: 2021-11-11 10:12:10
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/mixins/index.js