Browse Source

修改初始化时间

Reviewed-on: #7
姜鑫 3 years ago
parent
commit
2159f942e4
  1. 2
      CHANGELOG.md
  2. 2
      package-lock.json
  3. 2
      package.json
  4. 2
      src/composables/useAutoBack.ts

2
CHANGELOG.md

@ -2,6 +2,8 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [1.0.0-B.7](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.6...v1.0.0-B.7) (2023-11-08)
## [1.0.0-B.6](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.5...v1.0.0-B.6) (2023-11-08) ## [1.0.0-B.6](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.5...v1.0.0-B.6) (2023-11-08)
## [1.0.0-B.5](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.4...v1.0.0-B.5) (2023-11-08) ## [1.0.0-B.5](https://git.1000my.com/project_yongwangyun/YongWang_Customer/compare/v1.0.0-B.4...v1.0.0-B.5) (2023-11-08)

2
package-lock.json

@ -1,6 +1,6 @@
{ {
"name": "vue_cli_ts", "name": "vue_cli_ts",
"version": "1.0.0-B.6",
"version": "1.0.0-B.7",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "vue_cli_ts", "name": "vue_cli_ts",
"version": "1.0.0-B.6",
"version": "1.0.0-B.7",
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",

2
src/composables/useAutoBack.ts

@ -3,7 +3,7 @@ import { ref } from 'vue'
export const useAutoBack = (callback: () => void) => { export const useAutoBack = (callback: () => void) => {
const MIN_TIME = 0 const MIN_TIME = 0
const CHECK_TIME = 1000 const CHECK_TIME = 1000
const TO_INDEX_TIME = 60
const TO_INDEX_TIME = 15
const toIndexTime = ref(TO_INDEX_TIME) //回首页的时间 const toIndexTime = ref(TO_INDEX_TIME) //回首页的时间
const toIndexInterval = ref() const toIndexInterval = ref()

Loading…
Cancel
Save