-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeatures.json
More file actions
1 lines (1 loc) · 4 KB
/
Copy pathfeatures.json
File metadata and controls
1 lines (1 loc) · 4 KB
1
[{"title":"electron选择文件夹","uid":"e45834e36543122a7568170b7c960314","slug":"electron/009-el-select-folder","date":"2022-12-28T08:20:13.000Z","updated":"2022-12-28T09:27:04.234Z","comments":true,"path":"api/articles/electron/009-el-select-folder.json","cover":"https://images.pexels.com/photos/290470/pexels-photo-290470.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260","text":" 1、背景使用Vue2搭建的项目,有时候需要选择文件夹,搜索了很多发现并不支持。所以打算自己写一个;这种写法在目录中有文件的时候,是可以正常使用的;但如果是一个空目录,则会发生空指针的BUG,此处记录如何在electron中选择目录。 2、electron版本的解决方案","link":"","photos":[],"count_time":{"symbolsCount":135,"symbolsTime":"1 mins."},"categories":[{"name":"Vue","slug":"Vue","count":3,"path":"api/categories/Vue.json"}],"tags":[{"name":"Folder","slug":"Folder","count":2,"path":"api/tags/Folder.json"}],"author":{"name":"ilobos","slug":"blog-author","avatar":"https://img-blog.csdnimg.cn/20210313122054101.png","link":"/","description":"直面挑战 躬身入局","socials":{"github":"https://github.com/ilobos/","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{"gitee":{"icon":"/svg/gitee.svg","link":"https://gitee.com/ilobos/"}}}},"feature":true},{"title":"Vue2选择文件夹","uid":"db4284cb41a495b28f27a26d082d778e","slug":"vue/004-vue-select-folder","date":"2022-12-28T06:20:13.000Z","updated":"2022-12-28T09:28:42.130Z","comments":true,"path":"api/articles/vue/004-vue-select-folder.json","cover":"https://images.pexels.com/photos/290470/pexels-photo-290470.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260","text":" 1、背景使用Vue2搭建的项目,有时候需要选择文件夹,搜索了很多发现并不支持。所以打算自己写一个;这种写法在目录中有文件的时候,是可以正常使用的;但如果是一个空目录,则会发生空指针的BUG,导致无法达到预期效果。此时可以借助第三方解决方案,参考此处可以查看如何在electron...","link":"","photos":[],"count_time":{"symbolsCount":159,"symbolsTime":"1 mins."},"categories":[{"name":"Vue","slug":"Vue","count":3,"path":"api/categories/Vue.json"}],"tags":[{"name":"Folder","slug":"Folder","count":2,"path":"api/tags/Folder.json"}],"author":{"name":"ilobos","slug":"blog-author","avatar":"https://img-blog.csdnimg.cn/20210313122054101.png","link":"/","description":"直面挑战 躬身入局","socials":{"github":"https://github.com/ilobos/","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{"gitee":{"icon":"/svg/gitee.svg","link":"https://gitee.com/ilobos/"}}}},"feature":true},{"title":"在使用git的过程中 碰到无法pull的问题 Connection closed by remote host","uid":"3afad2911964fe45a31d72578fdd76ee","slug":"share/004-git-pull-error","date":"2022-12-28T06:20:13.000Z","updated":"2022-12-28T07:51:01.851Z","comments":true,"path":"api/articles/share/004-git-pull-error.json","cover":"https://images.pexels.com/photos/290470/pexels-photo-290470.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260","text":" 说明在使用git的过程中,偶尔会碰到这个错误,kex_exchange_identification: Connection closed by remote host; git pull kex_exchange_identification: Connection clos...","link":"","photos":[],"count_time":{"symbolsCount":527,"symbolsTime":"1 mins."},"categories":[{"name":"GIT","slug":"GIT","count":2,"path":"api/categories/GIT.json"}],"tags":[{"name":"Rebase","slug":"Rebase","count":2,"path":"api/tags/Rebase.json"}],"author":{"name":"ilobos","slug":"blog-author","avatar":"https://img-blog.csdnimg.cn/20210313122054101.png","link":"/","description":"直面挑战 躬身入局","socials":{"github":"https://github.com/ilobos/","twitter":"","stackoverflow":"","wechat":"","qq":"","weibo":"","zhihu":"","csdn":"","juejin":"","customs":{"gitee":{"icon":"/svg/gitee.svg","link":"https://gitee.com/ilobos/"}}}},"feature":true}]