From f60d31d22b3e84908b1fe0a9e2215301c233300a Mon Sep 17 00:00:00 2001 From: zxwk Date: Mon, 8 Jul 2024 14:14:12 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor:=20=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 2 +- README.en.md | 14 ++++++------ README.md | 22 +++++++++---------- prettier.config.js | 2 +- src/layouts/components/VabAvatar/index.vue | 6 ++--- src/utils/static.js | 2 +- .../index/components/VersionInformation.vue | 4 ++-- vue.config.js | 2 +- 8 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 519928e..6ac6df8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -40,7 +40,7 @@ "editor.suggest.snippetsPreventQuickSuggestions": false, "prettier.htmlWhitespaceSensitivity": "ignore", "prettier.vueIndentScriptAndStyle": true, - "docthis.authorName": "https://vue-admin-beautiful.com", + "docthis.authorName": "https://vuejs-core.cn", "docthis.includeAuthorTag": true, "docthis.includeDescriptionTag": true, "docthis.enableHungarianNotationEvaluation": true, diff --git a/README.en.md b/README.en.md index 3fe58d6..2504aeb 100644 --- a/README.en.md +++ b/README.en.md @@ -24,19 +24,19 @@ ## 🌐 Address -- [🎉 Vue2. X + element UI (free commercial, PC, tablet and mobile phone supported)](https://vue-admin-beautiful.com/vue-admin-beautiful-element/?hmsr=github&hmpl=&hmcu=&hmkw=&hmci=) +- [🎉 Vue2. X + element UI (free commercial, PC, tablet and mobile phone supported)](https://vuejs-core.cn/vue-admin-beautiful-element/?hmsr=github&hmpl=&hmcu=&hmkw=&hmci=) -- [⚡️ Vue3. X + element plus (alpha version, free commercial, supporting PC, tablet and mobile phone)](https://vue-admin-beautiful.com/vue-admin-beautiful-element-plus/?hmsr=github&hmpl=&hmcu=&hmkw=&hmci=) +- [⚡️ Vue3. X + element plus (alpha version, free commercial, supporting PC, tablet and mobile phone)](https://vuejs-core.cn/vue-admin-beautiful-element-plus/?hmsr=github&hmpl=&hmcu=&hmkw=&hmci=) -- [⚡️ Vue3. X + ant design Vue (beta version, free commercial, supporting PC, tablet and mobile phone)](https://vue-admin-beautiful.com/vue-admin-beautiful-antdv/?hmsr=github&hmpl=&hmcu=&hmkw=&hmci=) +- [⚡️ Vue3. X + ant design Vue (beta version, free commercial, supporting PC, tablet and mobile phone)](https://vuejs-core.cn/vue-admin-beautiful-antdv/?hmsr=github&hmpl=&hmcu=&hmkw=&hmci=) -- [⚡️ vue3.x + vite + vue-admin-arco](https://vue-admin-beautiful.com/vue-admin-arco/?hmsr=github&hmpl=&hmcu=&hmkw=&hmci=) +- [⚡️ vue3.x + vite + vue-admin-arco](https://vuejs-core.cn/vue-admin-arco/?hmsr=github&hmpl=&hmcu=&hmkw=&hmci=) -- [🚀 Admin Pro demo address (vue2.x paid version, supporting PC, tablet and mobile phone)](https://vue-admin-beautiful.com/admin-pro/?hmsr=github&hmpl=&hmcu=&hmkw=&hmci=) +- [🚀 Admin Pro demo address (vue2.x paid version, supporting PC, tablet and mobile phone)](https://vuejs-core.cn/admin-pro/?hmsr=github&hmpl=&hmcu=&hmkw=&hmci=) -- [🚀 Admin plus demo address (vue3.x paid version, supporting PC, tablet and mobile phone)](https://vue-admin-beautiful.com/admin-plus/?hmsr=github&hmpl=&hmcu=&hmkw=&hmci=) +- [🚀 Admin plus demo address (vue3.x paid version, supporting PC, tablet and mobile phone)](https://vuejs-core.cn/admin-plus/?hmsr=github&hmpl=&hmcu=&hmkw=&hmci=) -- [📌 Pro and plus purchase address authorization](https://vue-admin-beautiful.com/authorization/) +- [📌 Pro and plus purchase address authorization](https://vuejs-core.cn/authorization/) - [🌐 Github Warehouse address](https://github.com/zxwk1998/vue-admin-better?utm_source=gold_browser_extension) diff --git a/README.md b/README.md index 947cf52..be21ba0 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ 基于 vite5.x + vue3.x + arco-design2.x 全新的前端框架 vue-admin-arco, 欢迎点击查看或试用 👏🏻👏🏻👏🏻 -[开源地址](https://github.com/zxwk1998/vue-admin-arco) | [演示地址](https://vue-admin-beautiful.com/vue-admin-arco) --> +[开源地址](https://github.com/zxwk1998/vue-admin-arco) | [演示地址](https://vuejs-core.cn/vue-admin-arco) --> ## 🎉 特性 @@ -31,25 +31,25 @@ ## 🌐 付费版演示地址 -- [🚀 Vue Admin Pro 演示地址(vue2.x + element-ui 2.x 付费版本,支持 PC、平板、手机)](https://vue-admin-beautiful.com/admin-pro/) +- [🚀 Vue Admin Pro 演示地址(vue2.x + element-ui 2.x 付费版本,支持 PC、平板、手机)](https://vuejs-core.cn/admin-pro/) -- [🚀 Vue Admin Plus 演示地址(vue3.x + element-plus 2.x 付费版本,支持 PC、平板、手机)](https://vue-admin-beautiful.com/admin-plus/) +- [🚀 Vue Admin Plus 演示地址(vue3.x + element-plus 2.x 付费版本,支持 PC、平板、手机)](https://vuejs-core.cn/admin-plus/) -- [🚀 Vue Shop Vite 演示地址(vue3.x + vite 5.x + element-plus 2.x 付费版本,支持 PC、平板、手机)](https://vue-admin-beautiful.com/shop-vite/) +- [🚀 Vue Shop Vite 演示地址(vue3.x + vite 5.x + element-plus 2.x 付费版本,支持 PC、平板、手机)](https://vuejs-core.cn/shop-vite/) -- [📌 Vue Admin Pro 及 Vue Admin Plus 购买地址](https://vue-admin-beautiful.com/authorization/) +- [📌 Vue Admin Pro 及 Vue Admin Plus 购买地址](https://vuejs-core.cn/authorization/) -- [📌 Vue Shop Vite 购买地址](https://vue-admin-beautiful.com/authorization/shop-vite.html) +- [📌 Vue Shop Vite 购买地址](https://vuejs-core.cn/authorization/shop-vite.html) ## 🌐 免费版演示地址 -- [🎉 Vue Admin Better (vue2.x + element-ui 免费商用,支持 PC、平板、手机)](https://vue-admin-beautiful.com/vue-admin-beautiful-element) +- [🎉 Vue Admin Better (vue2.x + element-ui 免费商用,支持 PC、平板、手机)](https://vuejs-core.cn/vue-admin-beautiful-element) -- [⚡️ vue3.x + element-plus(alpha 版本,免费商用,支持 PC、平板、手机)](https://vue-admin-beautiful.com/vue-admin-beautiful-element-plus/) +- [⚡️ vue3.x + element-plus(alpha 版本,免费商用,支持 PC、平板、手机)](https://vuejs-core.cn/vue-admin-beautiful-element-plus/) -- [⚡️ Vue Admin Ant (vue3.x + ant-design-vue 免费商用,支持 PC、平板、手机)](https://vue-admin-beautiful.com/vue-admin-beautiful-antdv/) +- [⚡️ Vue Admin Ant (vue3.x + ant-design-vue 免费商用,支持 PC、平板、手机)](https://vuejs-core.cn/vue-admin-beautiful-antdv/) -- [⚡️ Vue Admin Arco (vue3.x + vite5.x + arco2.x 免费商用,支持 PC)](https://vue-admin-beautiful.com/vue-admin-arco/) +- [⚡️ Vue Admin Arco (vue3.x + vite5.x + arco2.x 免费商用,支持 PC)](https://vuejs-core.cn/vue-admin-arco/) ## 🌐 仓库地址 @@ -269,7 +269,7 @@ npm run serve 开源版本可免费用于商业用途,如果方便就留个 Star 吧 - diff --git a/prettier.config.js b/prettier.config.js index 9316617..5479539 100644 --- a/prettier.config.js +++ b/prettier.config.js @@ -1,5 +1,5 @@ /** - * @author https://vue-admin-beautiful.com (不想保留author可删除) + * @author https://vuejs-core.cn (不想保留author可删除) * @description 代码规范 */ diff --git a/src/layouts/components/VabAvatar/index.vue b/src/layouts/components/VabAvatar/index.vue index 0c39bb0..ee2c139 100644 --- a/src/layouts/components/VabAvatar/index.vue +++ b/src/layouts/components/VabAvatar/index.vue @@ -48,12 +48,12 @@ window.open('https://gitee.com/chu1204505056/vue-admin-better') break case 'pro': - window.open('https://vue-admin-beautiful.com/admin-pro/?hmsr=homeAd&hmpl=&hmcu=&hmkw=&hmci=') + window.open('https://vuejs-core.cn/admin-pro/?hmsr=homeAd&hmpl=&hmcu=&hmkw=&hmci=') break case 'plus': - window.open('https://vue-admin-beautiful.com/admin-plus/?hmsr=homeAd&hmpl=&hmcu=&hmkw=&hmci=') + window.open('https://vuejs-core.cn/admin-plus/?hmsr=homeAd&hmpl=&hmcu=&hmkw=&hmci=') case 'shop': - window.open('https://vue-admin-beautiful.com/shop-vite/?hmsr=homeAd&hmpl=&hmcu=&hmkw=&hmci=') + window.open('https://vuejs-core.cn/shop-vite/?hmsr=homeAd&hmpl=&hmcu=&hmkw=&hmci=') } }, personalCenter() { diff --git a/src/utils/static.js b/src/utils/static.js index 6010822..39c2954 100644 --- a/src/utils/static.js +++ b/src/utils/static.js @@ -1,5 +1,5 @@ /** - * @author https://vue-admin-beautiful.com + * @author https://vuejs-core.cn * @description 导入所有 controller 模块,浏览器环境中自动输出controller文件夹下Mock接口,请勿修改。 */ import Mock from 'mockjs' diff --git a/src/views/index/components/VersionInformation.vue b/src/views/index/components/VersionInformation.vue index 3c84eb3..de40e73 100644 --- a/src/views/index/components/VersionInformation.vue +++ b/src/views/index/components/VersionInformation.vue @@ -26,10 +26,10 @@ 授权渠道 - + PRO付费版本 购买源码 ¥699 - + Plus付费版本 购买源码 ¥799 diff --git a/vue.config.js b/vue.config.js index 566fd11..f69b1ae 100644 --- a/vue.config.js +++ b/vue.config.js @@ -27,7 +27,7 @@ const dayjs = require('dayjs') const date = dayjs().format('YYYY_M_D') const time = dayjs().format('YYYY-M-D HH:mm:ss') process.env.VUE_APP_TITLE = title || 'vue-admin-better' -process.env.VUE_APP_AUTHOR = author || 'https://vue-admin-beautiful.com' +process.env.VUE_APP_AUTHOR = author || 'https://vuejs-core.cn' process.env.VUE_APP_UPDATE_TIME = time process.env.VUE_APP_VERSION = version