From 880023ad0447b5fc661c75bddd34bce0dc531782 Mon Sep 17 00:00:00 2001 From: xuesinan <1404152492@qq.com> Date: Fri, 4 Mar 2022 14:26:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BA=A4=E4=BB=98=E7=89=A9=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +- manifest.json | 2 +- pages/index/index.vue | 6 +- pages/user/login.vue | 1 + plugins/p-deliver-check/check-form-modal.vue | 21 +- plugins/p-deliver-check/p-deliver-check.vue | 10 +- plugins/p-deliver/p-deliver.vue | 23 +- store/socket/actions.js | 266 +++++++++---------- 8 files changed, 178 insertions(+), 154 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 582842c..b408836 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# 1.0.0 (2022-03-03) +# 1.0.0 (2022-03-04) ### 🌟 新功能 范围|描述|commitId @@ -36,6 +36,7 @@ - | 刻度模式时间轴 | [a9bc53a](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/a9bc53a) - | 日历页首页 | [561c8e6](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/561c8e6) - | 日历页添加 | [1b46a91](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/1b46a91) + - | 上传新项目结果提示 | [2625734](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/2625734) - | 设置项目域名 | [1a835f1](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/1a835f1) - | 设置状态栏 | [9871356](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/9871356) - | 审核插件的基本信息展示 | [aa4f17f](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/aa4f17f) diff --git a/manifest.json b/manifest.json index 4a17c9c..aac9f70 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name" : "时物链条", "appid" : "__UNI__3CBCFFF", "description" : "", - "versionName" : "1.0.7", + "versionName" : "1.0.9", "versionCode" : "100", "transformPx" : false, /* 5+App特有相关 */ diff --git a/pages/index/index.vue b/pages/index/index.vue index 59d90b8..40c7f71 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -109,7 +109,6 @@ // 导入失败 const onUploadError = error => { - console.log('11111111') uni.$ui.showToast(error || '导入失败', 6000); }; @@ -134,6 +133,11 @@ function signout() { store.commit('user/setToken', ''); store.commit('user/setUser', null); + store.commit('socket/setSocket', null); + store.commit('socket/setConnected', false); + store.commit('socket/uploadNotificationData', []); + store.commit('socket/uploadRingData', []); + store.commit('socket/uploadRemindData', []); uni.$storage.setStorageSync('anyringToken', ''); uni.$storage.setStorageSync('user', ''); } diff --git a/pages/user/login.vue b/pages/user/login.vue index 0296d8d..559b041 100644 --- a/pages/user/login.vue +++ b/pages/user/login.vue @@ -108,6 +108,7 @@ store.commit('user/setUser', res); uni.$storage.setStorageSync('anyringToken', res.token || ''); uni.$storage.setStorageSync('user', JSON.stringify(res) || ''); + store.dispatch('socket/initSocket'); uni.$ui.hideLoading(); diff --git a/plugins/p-deliver-check/check-form-modal.vue b/plugins/p-deliver-check/check-form-modal.vue index 829fac3..dfe7590 100644 --- a/plugins/p-deliver-check/check-form-modal.vue +++ b/plugins/p-deliver-check/check-form-modal.vue @@ -32,7 +32,7 @@