diff --git a/src/router/index.js b/src/router/index.js index 65efea5..016650d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -106,6 +106,7 @@ router.beforeEach((to, from, next) => { Vue.prototype.$message.error(res.msg) return next({ name: 'login' }) } + console.log('menulist: ', res.data) window.SITE_CONFIG['menuList'] = res.data fnAddDynamicMenuRoutes(window.SITE_CONFIG['menuList']) next({ ...to, replace: true }) diff --git a/src/views/modules/monitoring/equipment.vue b/src/views/modules/monitoring/equipment.vue index e85d18a..fa2d412 100644 --- a/src/views/modules/monitoring/equipment.vue +++ b/src/views/modules/monitoring/equipment.vue @@ -102,7 +102,6 @@ export default { key: this.dataForm.key }) }).then(({ data }) => { - console.log('===', data) if (data && data.code === 0) { this.dataList = data.data.list this.totalPage = data.data.total diff --git a/src/views/modules/monitoring/equipmenalarmlog-add-or-update.vue b/src/views/modules/monitoring/equipmentAlarmLog-add-or-update.vue similarity index 100% rename from src/views/modules/monitoring/equipmenalarmlog-add-or-update.vue rename to src/views/modules/monitoring/equipmentAlarmLog-add-or-update.vue diff --git a/src/views/modules/monitoring/equipmentAlarmLog.vue b/src/views/modules/monitoring/equipmentAlarmLog.vue index 8eab9f4..6ece42e 100644 --- a/src/views/modules/monitoring/equipmentAlarmLog.vue +++ b/src/views/modules/monitoring/equipmentAlarmLog.vue @@ -49,7 +49,7 @@