From 11913968a57c45ed077e6e2ebc04c3caad4547d4 Mon Sep 17 00:00:00 2001 From: song Date: Tue, 26 Oct 2021 14:42:03 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BF=AE=E6=94=B9=E5=86=85=E7=BD=AE?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E4=BB=BB=E5=8A=A1=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +- src/components/InputSearch/InputSearch.vue | 1 - src/components/Plugin/Plugin.vue | 2 +- src/components/TimeLine/component/TimeBox.vue | 4 +-- src/components/Title/Title.vue | 2 -- .../Title/components/CreateTask.vue | 3 -- src/pages/project/project.vue | 1 - src/plugins/p-subproject/p-subproject.vue | 2 +- src/plugins/p-subtasks/p-subtasks.vue | 2 +- src/plugins/p-task-title/p-task-title.vue | 33 ++++++++++++++++++- 10 files changed, 39 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 275a658..437efc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.1.0 (2021-10-22) +# 0.1.0 (2021-10-26) ### 🌟 新功能 范围|描述|commitId @@ -55,6 +55,7 @@ - | 添加医院项目下的问卷悬浮按钮 | e68e633 - | 添加子任务插件 子项目插件 | 7bda7e2 - | 添加时间轴上下滚动 | 2b81bbc + - | 添加禁用角色 | 732684d - | 添加项目排序 | a0b491b - | 点击日历日期查询项目列表 | c458385 - | 细节调整,添加project-webview | 4d9050b diff --git a/src/components/InputSearch/InputSearch.vue b/src/components/InputSearch/InputSearch.vue index 133446b..c2a4f79 100644 --- a/src/components/InputSearch/InputSearch.vue +++ b/src/components/InputSearch/InputSearch.vue @@ -33,7 +33,6 @@ export default { methods: { search(e) { let val = e.detail.value; - console.log('val: ', val); this.$emit('searchPrevTask', val); // let arr = []; diff --git a/src/components/Plugin/Plugin.vue b/src/components/Plugin/Plugin.vue index b1e8d68..ca39ce1 100644 --- a/src/components/Plugin/Plugin.vue +++ b/src/components/Plugin/Plugin.vue @@ -22,7 +22,7 @@ - + diff --git a/src/components/TimeLine/component/TimeBox.vue b/src/components/TimeLine/component/TimeBox.vue index 9ce1ac0..c5a7e52 100644 --- a/src/components/TimeLine/component/TimeBox.vue +++ b/src/components/TimeLine/component/TimeBox.vue @@ -48,12 +48,12 @@ diff --git a/src/components/Title/Title.vue b/src/components/Title/Title.vue index 5c7a240..59f8e10 100644 --- a/src/components/Title/Title.vue +++ b/src/components/Title/Title.vue @@ -101,7 +101,6 @@ export default { onBack() { // eslint-disable-next-line no-undef const pages = getCurrentPages(); // 获取页面栈数组 - console.log('历史pages: ', pages.length); if (pages.length > 1) { uni.webView.navigateBack(); } else { @@ -120,7 +119,6 @@ export default { }, // 回到首页 openIndex() { - console.log(111); uni.webView.reLaunch({ url: `/pages/index/index?u=${this.userId}` }); }, diff --git a/src/components/Title/components/CreateTask.vue b/src/components/Title/components/CreateTask.vue index 536c360..2ca1c24 100644 --- a/src/components/Title/components/CreateTask.vue +++ b/src/components/Title/components/CreateTask.vue @@ -268,7 +268,6 @@ export default { //用户点击获取的数据 handleChange(data) { - console.log('data', data); this.processTaskId = data.detailId; }, // 清空模糊查询信息 @@ -400,14 +399,12 @@ export default { if (res.planStart - 0 > item.planStart - 0) { if (res.planStart - 0 <= oldTasks[i + 1].planStart - 0) { oldTasks.splice(i + 1, 0, res); - console.log('res: ', res); return; } } } } // TODO: 不能全更新 - console.log('oldTasks: ', oldTasks); this.updateTasks([...oldTasks]); }, }, diff --git a/src/pages/project/project.vue b/src/pages/project/project.vue index e18b1d4..0b8deef 100644 --- a/src/pages/project/project.vue +++ b/src/pages/project/project.vue @@ -354,7 +354,6 @@ export default { this.$t.ui.showToast('缺少项目信息参数'); // 没有项目id参数 } else { if (options.p !== this.$t.storage.getStorageSync('projectId')) { - console.log('切项目了'); this.$t.storage.setStorageSync('roleId', ''); } // TODO diff --git a/src/plugins/p-subproject/p-subproject.vue b/src/plugins/p-subproject/p-subproject.vue index 602ccd8..b0522be 100644 --- a/src/plugins/p-subproject/p-subproject.vue +++ b/src/plugins/p-subproject/p-subproject.vue @@ -1,7 +1,7 @@