Browse Source

fix菜单展开无法收起

code4eat 3 năm trước cách đây
mục cha
commit
007e58df0f

+ 0 - 1
src/app.tsx

@@ -252,7 +252,6 @@ export const request: RequestConfig = {
 // 将服务端获取的菜单 icon 字符串映射为对应的 icon Dom
 const mappingIcon = (menuData: menuDataItemType[]) => {
   if(menuData.length==0){
-      console.log('空菜单');
       return [
         {
           path:'',

+ 0 - 2
src/pages/GradeHospitalAccreditation/articleManagement/model.ts

@@ -630,8 +630,6 @@ const articleManagement = () => {
     }
   }, [leafData]);
 
-  console.log({ drawerFormType });
-
   useEffect(() => {
     // 当抽屉类型改变时
     if (drawerFormType == 'BATCHSETTING' || drawerFormType == 'ARTICLE_SET') {