diff --git a/App.vue b/App.vue index 664440b..c279b04 100644 --- a/App.vue +++ b/App.vue @@ -25,11 +25,11 @@ export default { // 查询广告页和引导页并缓存 // #ifdef APP-PLUS - // uni.$storage.setStorageSync('isOpenApp', true); - // this.$store.commit('setIsOpenApp', true); + uni.$storage.setStorageSync('isOpenApp', true); + this.$store.commit('setIsOpenApp', true); // 判断是否第一次打开App - // let firstOpenApp = uni.$storage.getStorageSync('firstOpenApp'); - // this.$store.commit('setFirstOpenApp'); + let firstOpenApp = uni.$storage.getStorageSync('firstOpenApp'); + this.$store.commit('setFirstOpenApp'); this.getGuide(0); this.getGuide(1); // #endif diff --git a/CHANGELOG.md b/CHANGELOG.md index 5137e47..841db52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# 1.0.0 (2022-01-27) +# 1.0.0 (2022-01-28) ### 🌟 新功能 范围|描述|commitId @@ -15,6 +15,7 @@ - | 登录图标、日历页今日 | [7de419d](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/7de419d) - | 服务、插件缓存、导入选择服务列表、 | [cc8004b](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/cc8004b) - | 更新代码 | [392c8cc](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/392c8cc) + - | 工作台功能 | [b674733](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/b674733) - | 广告页、引导页 | [fe87d00](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/fe87d00) - | 广告页、引导页 | [1c89806](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/1c89806) - | 广告页、引导页改为组件 | [2be7903](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/2be7903) diff --git a/components/Adv/Adv.vue b/components/Adv/Adv.vue index a2e12cf..11f75ae 100644 --- a/components/Adv/Adv.vue +++ b/components/Adv/Adv.vue @@ -10,7 +10,7 @@ - {{ time }} 跳过 + {{ time }} 跳过 @@ -43,6 +43,11 @@ } }, 1000); + function toIndex() { + uni.$storage.setStorageSync('isOpenApp', false); + store.commit('setIsOpenApp', false); + } + // setTimeout(() => { // // 判断是否第一次打开App // let firstOpenApp = uni.$storage.getStorageSync('firstOpenApp'); @@ -64,7 +69,7 @@