Browse Source

Gitbook Auto Published

willin 8 years ago
parent
commit
34c03c4c01
1 changed files with 1 additions and 0 deletions
  1. 1 0
      experience/advanced/desktop-app.md

+ 1 - 0
experience/advanced/desktop-app.md

@@ -263,6 +263,7 @@ const insertItem = (arr, name, pid = '', type = 'item') => {
   if (type === 'folder' && pid !== '') return false;
   const item = {
     name,
+    type,
     order: -1,
     id: uuid.v4(),
   };