瀏覽代碼

fix菜单展开无法收起

code4eat 3 年之前
父節點
當前提交
007e58df0f
共有 2 個文件被更改,包括 0 次插入3 次删除
  1. 0 1
      src/app.tsx
  2. 0 2
      src/pages/GradeHospitalAccreditation/articleManagement/model.ts

+ 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') {