Explorar o código

Add demo english annotation.

杜府 %!s(int64=3) %!d(string=hai) anos
pai
achega
432e39d37e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      demo/src/pages/home/Home.svelte

+ 1 - 0
demo/src/pages/home/Home.svelte

@@ -4,6 +4,7 @@
     import menuList from '../../data/menuList';
 
     // 循环 menuList,将所有元素的 childs 组成一个数组
+    // Cycle menuList, and combine the childs of all elements into an array
     const menuListArr = menuList.reduce((acc, cur) => {
         if (cur.childs) {
             acc.push(...cur.childs);