From 9c094a1fe3e1ae3dadef6433f8401818fe2b8304 Mon Sep 17 00:00:00 2001 From: lzhe <lzhe@example.com> Date: 星期五, 21 六月 2024 10:53:43 +0800 Subject: [PATCH] 1 --- src/views/mdc/configComp/Board.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/mdc/configComp/Board.vue b/src/views/mdc/configComp/Board.vue index 90c49ba..7b1189d 100644 --- a/src/views/mdc/configComp/Board.vue +++ b/src/views/mdc/configComp/Board.vue @@ -1,7 +1,7 @@ <!-- * @Date: 2024-04-15 23:58:36 * @LastEditors: Sneed - * @LastEditTime: 2024-04-17 00:38:24 + * @LastEditTime: 2024-04-17 00:45:20 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/mdc/configComp/Board.vue --> <template> @@ -111,7 +111,6 @@ }, methods: { init() { - console.log('>>>>>>normalId') this.$HTTP.get('/api/blade-system/param-biz/detail?paramKey=mdc_chosen_groups').then(re => { this.id = re.data.id let chosen = [] @@ -119,12 +118,12 @@ try { chosen = JSON.parse(re.data.paramValue).map(v => v.groupId) normalId = JSON.parse(re.data.paramValue).find(v => v.isDefault).groupId - console.log('>>>>>>normalId', normalId) } catch (error) { } Promise.all([ this.$HTTP.get('/api/blade-system/dict/dictionary?code=group_tag').then(res => { + this.dicts = [] this.dicts.push(...res.data.map(({ dictKey, dictValue }) => ({ dictKey, dictValue }))) @@ -203,6 +202,7 @@ item?.children.forEach(v => { if (groupId == v.groupId) { v.isDefault = true + v.isSelect = true } else { v.isDefault = 0 } -- Gitblit v1.9.3