diff --git a/package.json b/package.json index 7d305a671..05f1d946b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,11 @@ { "name": "vue3-antd-admin", "version": "0.1.4", - "private": true, + "author": { + "name": "buqiyuan", + "email": "1743369777@qq.com", + "url": "https://github.com/buqiyuan" + }, "scripts": { "dev": "npm run serve", "serve": "vue-cli-service serve", @@ -18,8 +22,8 @@ "prepare": "husky install", "version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md", "postversion": "git push && git push origin --tags", - "test prod cors": "npx http-server dist --cors --gzip -P http://29135jo738.zicp.vip", - "test prod gzip": "npx http-server dist --cors --gzip -c-1" + "test:gzip": "npx http-server dist --cors --gzip -c-1", + "test:br": "npx http-server dist --cors --brotli -c-1" }, "dependencies": { "@vueuse/core": "^7.5.4", @@ -68,11 +72,11 @@ "husky": "^7.0.4", "less": "^4.1.2", "less-loader": "10.2.0", - "lint-staged": "^12.3.0", + "lint-staged": "^12.3.1", "path-browserify": "^1.0.1", "postcss-html": "^1.3.0", "prettier": "^2.5.1", - "stylelint": "^14.2.0", + "stylelint": "^14.3.0", "stylelint-config-html": "^1.0.0", "stylelint-config-prettier": "^9.0.3", "stylelint-config-recommended": "^6.0.0", @@ -81,10 +85,14 @@ "svg-sprite-loader": "^6.0.11", "typescript": "^4.5.5", "vue-cli-plugin-windicss": "^1.1.3", - "vue-eslint-parser": "^8.1.0" + "vue-eslint-parser": "^8.2.0" }, "__npminstall_done": false, - "homepage": "git@buqiyuan.github.io/vue3-antd-admin", + "repository": { + "type": "git", + "url": "https://github.com/buqiyuan/vue3-antd-admin" + }, + "homepage": "https://buqiyuan.gitee.io/vue3-antd-admin", "keywords": [ "vue", "ant-design-vue", diff --git a/src/layout/header/index.vue b/src/layout/header/index.vue index 18d09e856..7434e59af 100644 --- a/src/layout/header/index.vue +++ b/src/layout/header/index.vue @@ -36,8 +36,11 @@ {{ userInfo.name }}