mirror of https://github.com/halo-dev/halo-admin
parent
c9f76baf10
commit
d4b7b724b3
|
@ -1,2 +1,2 @@
|
|||
NODE_ENV=production
|
||||
PUBLIC_PATH=https://cdn.jsdelivr.net/npm/halo-admin@1.4.3/dist/
|
||||
PUBLIC_PATH=https://cdn.jsdelivr.net/npm/halo-admin@1.4.4/dist/
|
|
@ -35,7 +35,7 @@ git clone https://github.com/halo-dev/halo-admin
|
|||
2、检出最新版本:
|
||||
|
||||
```bash
|
||||
git checkout v1.4.3
|
||||
git checkout v1.4.4
|
||||
```
|
||||
|
||||
3、打包构建:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "halo-admin",
|
||||
"version": "1.4.3",
|
||||
"version": "1.4.4",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "halo-admin",
|
||||
"version": "1.4.3",
|
||||
"version": "1.4.4",
|
||||
"author": "halo-dev",
|
||||
"description": "Halo admin client.",
|
||||
"repository": {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<meta name="renderer" content="webkit">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
|
||||
<meta name="robots" content="noindex,nofllow" />
|
||||
<meta name="generator" content="Halo 1.4.3" />
|
||||
<meta name="generator" content="Halo 1.4.4" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<title>Halo Dashboard</title>
|
||||
<style>
|
||||
|
|
|
@ -11,6 +11,7 @@ const whiteList = ['Login', 'Install', 'NotFound', 'ResetPassword'] // no redire
|
|||
|
||||
let progressTimer = null
|
||||
router.beforeEach(async(to, from, next) => {
|
||||
onProgressTimerDone()
|
||||
progressTimer = setTimeout(() => {
|
||||
NProgress.start()
|
||||
}, 250)
|
||||
|
@ -63,8 +64,9 @@ router.afterEach(() => {
|
|||
})
|
||||
|
||||
function onProgressTimerDone() {
|
||||
if (progressTimer) {
|
||||
if (progressTimer && progressTimer !== 0) {
|
||||
clearTimeout(progressTimer)
|
||||
progressTimer = null
|
||||
NProgress.done()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue