From f99c7820a8e0c53609f9a63d8d5eb41f7883c7d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=87=E6=B7=BC=EF=BC=88piexlmax?= <303176530@qq.com> Date: Mon, 10 Jan 2022 12:19:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9menu=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96icon=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改menu初始化icon的bug --- web/src/view/superAdmin/menu/icon.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/view/superAdmin/menu/icon.vue b/web/src/view/superAdmin/menu/icon.vue index 9225e1ef..4c769de3 100644 --- a/web/src/view/superAdmin/menu/icon.vue +++ b/web/src/view/superAdmin/menu/icon.vue @@ -1153,7 +1153,9 @@ const options = reactive([ ]) const metaData = ref(props.meta) -metaData.value.icon = options[0].label +if(!metaData.value.icon){ + metaData.value.icon = options[0].label +}