+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
\ No newline at end of file
diff --git "a/32\345\215\261\346\231\250/2023-05-12\350\267\257\347\224\261\350\217\234\345\215\225\346\240\217\345\260\201\350\243\205.md" "b/32\345\215\261\346\231\250/2023-05-12\350\267\257\347\224\261\350\217\234\345\215\225\346\240\217\345\260\201\350\243\205.md"
new file mode 100644
index 0000000..03f521a
--- /dev/null
+++ "b/32\345\215\261\346\231\250/2023-05-12\350\267\257\347\224\261\350\217\234\345\215\225\346\240\217\345\260\201\350\243\205.md"
@@ -0,0 +1,80 @@
+# 封装
+
+```js
+const menus = computed(()=>{
+ let nn = fn(newmenus,'')
+ return nn
+}
+)
+
+function fn (arr,childrenPaht){
+ let list =[]
+ arr.forEach(item => {
+ let temp = {
+ path:item.path,
+ meta:item.meta
+ }
+ if(childrenPaht && temp.path){
+ temp.path=childrenPaht +'/'+temp.path
+ }
+ if(item.children && item.children.length>0){
+ let children = fn(item.children, item.path)
+ if (children.length > 0) {
+ temp.children = children
+ }
+ }
+ console.log(temp);
+ list.push(temp)
+ });
+ return list
+}
+```
+
+
+```js
+'use strict '
+import Layout from '../Menu/Layout.vue'
+const routes = [
+ {
+ path:'/',
+ component:Layout,
+ meta:{icon:'menu',title: '年级管理'}
+ },
+ {
+ path:'/teacher',
+ component:Layout,
+ meta:{icon:'link',title: '教师管理'},
+ children: [
+ {
+ path:'menuleft',
+ component:()=>import('../views/MenuLeft.vue') ,
+ meta:{icon:'setting',title: "初级教师"}
+
+ },
+ {
+ path:'menunew',
+ component:()=>import('../views/MenuNew.vue') ,
+ meta:{icon:'ChatRound',title: "中级教师"}
+ },
+ ]
+ },
+ {
+ path:'/student',
+ component:Layout,
+ meta:{icon:'setting',title: '学生管理'},
+ children: [
+ {
+ path:'oneStudent',
+ component:()=>import('../views/OneStudent.vue'),
+ meta:{icon:'ChatRound', title: "初一学生"}
+ },
+ {
+ path:'twoStudent',
+ component:()=>import('../views/TwoStudent.vue'),
+ meta:{icon:'link',title: "初二学生"}
+ },
+ ]
+ }
+]
+export default routes
+```
diff --git "a/32\345\215\261\346\231\250/2023-05-8\345\233\276\347\211\207\345\260\201\350\243\205.md" "b/32\345\215\261\346\231\250/2023-05-8\345\233\276\347\211\207\345\260\201\350\243\205.md"
new file mode 100644
index 0000000..35059cd
--- /dev/null
+++ "b/32\345\215\261\346\231\250/2023-05-8\345\233\276\347\211\207\345\260\201\350\243\205.md"
@@ -0,0 +1,79 @@
+# 图片封装
+
+```html
+