Showing
2 changed files
with
9 additions
and
4 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2023-06-13 13:26:46 | 2 | * @Date: 2023-06-13 13:26:46 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-02-06 12:11:45 | 4 | + * @LastEditTime: 2024-02-06 19:38:35 |
| 5 | * @FilePath: /xysBooking/src/App.vue | 5 | * @FilePath: /xysBooking/src/App.vue |
| 6 | * @Description: 启动页 | 6 | * @Description: 启动页 |
| 7 | --> | 7 | --> |
| ... | @@ -63,7 +63,7 @@ onMounted(async () => { | ... | @@ -63,7 +63,7 @@ onMounted(async () => { |
| 63 | // console.log('已经更新了,请刷新页面') | 63 | // console.log('已经更新了,请刷新页面') |
| 64 | showConfirmDialog({ | 64 | showConfirmDialog({ |
| 65 | title: '温馨提示', | 65 | title: '温馨提示', |
| 66 | - message: '系统已经更新,请刷新页面?', | 66 | + message: '检测到新版本,是否更新?', |
| 67 | confirmButtonColor: '#A67939', | 67 | confirmButtonColor: '#A67939', |
| 68 | width: '80vw' | 68 | width: '80vw' |
| 69 | }) | 69 | }) | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Date: 2024-02-06 11:38:13 | 2 | * @Date: 2024-02-06 11:38:13 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-02-06 12:01:32 | 4 | + * @LastEditTime: 2024-02-06 13:04:25 |
| 5 | * @FilePath: /xysBooking/src/utils/versionUpdater.js | 5 | * @FilePath: /xysBooking/src/utils/versionUpdater.js |
| 6 | - * @Description: 文件描述 | 6 | + * @Description: |
| 7 | */ | 7 | */ |
| 8 | /* eslint-disable */ | 8 | /* eslint-disable */ |
| 9 | +/** | ||
| 10 | + * @description: 版本更新检查 | ||
| 11 | + * @param {*} time 阈值 | ||
| 12 | + * @return {*} | ||
| 13 | + */ | ||
| 9 | export class Updater { | 14 | export class Updater { |
| 10 | constructor(options = {}) { | 15 | constructor(options = {}) { |
| 11 | this.oldScript = []; | 16 | this.oldScript = []; | ... | ... |
-
Please register or login to post a comment