From 5d3c2c30e1769fd8c10a4299d841fd5876b04a82 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 10 Mar 2022 14:01:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E5=88=97=E8=A1=A8=E7=AD=9B=E9=80=89=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/loading.vue | 6 +++--- .../shandong10086/AppDocumentFlow/AppDocumentFlow.vue | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/loading.vue b/src/pages/loading.vue index 4d3c1cbd..c0f630ef 100644 --- a/src/pages/loading.vue +++ b/src/pages/loading.vue @@ -29,8 +29,9 @@ export default { ...mapState(['token', 'openUser', 'user']), appsList() { let {search, currentLib} = this - return this.apps.filter(e => (currentLib == "apps" && e.path.indexOf("project")) || e.path.indexOf(currentLib) > -1) - .filter(e => !!search ? e.name.indexOf(search) > -1 : true) || [] + return this.apps.filter(e => { + return (currentLib == "apps" && e.path.indexOf("project") > -1) || e.path.indexOf(currentLib) > -1 + }).filter(e => !!search ? e.name.indexOf(search) > -1 : true) || [] }, currentApp() { return this.apps.find(e => e.key == this.$route.query.app) || {} @@ -52,7 +53,6 @@ export default { ...mapMutations(['logout']), ...mapActions(['agentSign']), handleGotoApp(app) { - console.log(app) uni.navigateTo({url: `${app.path}`}) }, handleLogin() { diff --git a/src/project/shandong10086/AppDocumentFlow/AppDocumentFlow.vue b/src/project/shandong10086/AppDocumentFlow/AppDocumentFlow.vue index d4be24b4..6e8824fa 100644 --- a/src/project/shandong10086/AppDocumentFlow/AppDocumentFlow.vue +++ b/src/project/shandong10086/AppDocumentFlow/AppDocumentFlow.vue @@ -1,11 +1,11 @@