From fd98d3d9d49fad8d7244cae8de2264a635fe9f69 Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期一, 28 二月 2022 15:55:38 +0800 Subject: [PATCH] 补充默认头像svg、添加加载失败图片显示(demo/list) --- src/layout/components/Sidebar/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index 603476b..841b029 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -64,7 +64,7 @@ return menuData.filter((menu) => { // 浠呮湁涓�绾ц彍鍗� if (!menu.children) { - // isMock=1 鍏ㄦ樉绀� + // mock妯″紡 鍏ㄦ樉绀� if (isMock) return true // 涓嶅瓨鍦ㄦ潈闄愮殑璇濓紝榛樿鏄剧ず // console.log(menu.auth, menu.auth ? !!authData[menu.auth] : true) @@ -75,7 +75,7 @@ if (menu.children.length) { // 閫掑綊 menu.children = this.jun_filterAuth(menu.children, authData) - // isMock=1 鍏ㄦ樉绀� + // mock妯″紡 鍏ㄦ樉绀� if (isMock) return true return menu.children.length } -- Gitblit v1.8.0