From 584e17205f4cabd39bbc1b5d2489a59b48aa739e Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期二, 05 九月 2023 16:29:41 +0800 Subject: [PATCH] 报警号管理界面,功能 --- src/store/modules/Departs.js | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/store/modules/Departs.js b/src/store/modules/Departs.js index f1835e5..2189cd2 100644 --- a/src/store/modules/Departs.js +++ b/src/store/modules/Departs.js @@ -2,9 +2,9 @@ import { queryTreeListByDepart } from "@/api/Tree" import { SYS_DEPART } from "@/store/mutation-types" import { getAction } from '@/api/manage' - -const Depart = { +const Departs = { state: { + token: '', //閮ㄩ棬鏍� DepartTree:[] @@ -25,7 +25,6 @@ QueryDepart({ commit }) { return new Promise((resolve, reject) => { getAction("/mdc/mdcEquipment/queryTreeListByDepart").then(response => { - console.log("----閮ㄩ棬鏍�--------",response); if(response.success){ const result = response.result Vue.ls.set(SYS_DEPART, result) @@ -44,4 +43,4 @@ } } -export default Depart \ No newline at end of file +export default Departs \ No newline at end of file -- Gitblit v1.9.3