Browse Source

release: 1.4.4.

pull/293/head v1.4.4
Ryan Wang 4 years ago
parent
commit
d4b7b724b3
  1. 2
      .env.jsdelivr
  2. 2
      README.md
  3. 2
      package-lock.json
  4. 2
      package.json
  5. 2
      public/index.html
  6. 4
      src/router/guard/permissionGuard.js

2
.env.jsdelivr

@ -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/

2
README.md

@ -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、打包构建:

2
package-lock.json generated

@ -1,6 +1,6 @@
{
"name": "halo-admin",
"version": "1.4.3",
"version": "1.4.4",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

2
package.json

@ -1,6 +1,6 @@
{
"name": "halo-admin",
"version": "1.4.3",
"version": "1.4.4",
"author": "halo-dev",
"description": "Halo admin client.",
"repository": {

2
public/index.html

@ -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>

4
src/router/guard/permissionGuard.js

@ -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…
Cancel
Save