Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
xysBooking
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-02-06 19:39:11 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
381436cb2d93cb80be91f1339bda7e23cc47c9ed
381436cb
1 parent
d342fd75
fix
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
src/App.vue
src/utils/versionUpdater.js
src/App.vue
View file @
381436c
<!--
* @Date: 2023-06-13 13:26:46
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-02-06 1
2:11:4
5
* @LastEditTime: 2024-02-06 1
9:38:3
5
* @FilePath: /xysBooking/src/App.vue
* @Description: 启动页
-->
...
...
@@ -63,7 +63,7 @@ onMounted(async () => {
// console.log('已经更新了,请刷新页面')
showConfirmDialog({
title: '温馨提示',
message: '
系统已经更新,请刷新页面
?',
message: '
检测到新版本,是否更新
?',
confirmButtonColor: '#A67939',
width: '80vw'
})
...
...
src/utils/versionUpdater.js
View file @
381436c
/*
* @Date: 2024-02-06 11:38:13
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-02-06 1
2:01:32
* @LastEditTime: 2024-02-06 1
3:04:25
* @FilePath: /xysBooking/src/utils/versionUpdater.js
* @Description:
文件描述
* @Description:
*/
/* eslint-disable */
/**
* @description: 版本更新检查
* @param {*} time 阈值
* @return {*}
*/
export
class
Updater
{
constructor
(
options
=
{})
{
this
.
oldScript
=
[];
...
...
Please
register
or
login
to post a comment