From 829be3402662d0dc877b66ee5ef822e958b4ed06 Mon Sep 17 00:00:00 2001 From: hackycy Date: Wed, 24 Jun 2020 16:15:37 +0800 Subject: [PATCH] =?UTF-8?q?styles=EF=BC=9A=E7=A7=BB=E9=99=A4=E6=97=A0?= =?UTF-8?q?=E7=94=A8Log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/routers/router_handler.dart | 1 - .../pb_setting_page/github_page/github_repo_page_presenter.dart | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/routers/router_handler.dart b/lib/routers/router_handler.dart index 73cb369..470bf3e 100644 --- a/lib/routers/router_handler.dart +++ b/lib/routers/router_handler.dart @@ -63,7 +63,6 @@ var pbsettingGithubRepohandler = new Handler( handlerFunc: (BuildContext context, Map> params) { var path = params["path"]?.first; var prePath = params["prePath"]?.first; - print(prePath); return GithubRepoPage( path: (path == null || path == '') ? '/' : Uri.decodeComponent(path), prePath: (prePath == null || prePath == '') ? '' : Uri.decodeComponent(prePath), diff --git a/lib/views/pb_setting_page/github_page/github_repo_page_presenter.dart b/lib/views/pb_setting_page/github_page/github_repo_page_presenter.dart index 0525fc9..fabb894 100644 --- a/lib/views/pb_setting_page/github_page/github_repo_page_presenter.dart +++ b/lib/views/pb_setting_page/github_page/github_repo_page_presenter.dart @@ -30,7 +30,6 @@ class GithubRepoPagePresenter { } String realUrl = pathutil .joinAll(['repos', config.repositoryName, 'contents', prePath ?? '', path == '/' ? '' : path]); - print(realUrl); List result = await GithubNetUtils.get(realUrl, params: {"ref": config.branchName}); var data = result.map((e){ return GithubContent.fromJson(e);