From ac22209eca9ce2bcaa93d08ecb62ac601e1ba1e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?1024=E5=88=9B=E6=96=B0=E5=AE=9E=E9=AA=8C=E5=AE=A4?= <52805581+1024-lab@users.noreply.github.com> Date: Thu, 16 Feb 2023 21:47:23 +0800 Subject: [PATCH 1/2] Update main.js --- smart-admin-web/javascript-ant-design-vue3/src/main.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/smart-admin-web/javascript-ant-design-vue3/src/main.js b/smart-admin-web/javascript-ant-design-vue3/src/main.js index 7284eff0..bf357bb2 100644 --- a/smart-admin-web/javascript-ant-design-vue3/src/main.js +++ b/smart-admin-web/javascript-ant-design-vue3/src/main.js @@ -27,12 +27,6 @@ import { useUserStore } from '/@/store/modules/system/user'; import '/@/theme/index.less'; import { getTokenFromCookie } from '/@/utils/cookie-util'; -let url = location.href; -if(url.indexOf('1024lab.net') > -1){ - location.href = "https://preview.smartadmin.vip"; -} - - /* * -------------------- ※ 着重 解释说明下main.js的初始化逻辑 begin ※ -------------------- * From 4a25e2c9b913a0f26f2472af7ede1d33a363e62a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?1024=E5=88=9B=E6=96=B0=E5=AE=9E=E9=AA=8C=E5=AE=A4?= <52805581+1024-lab@users.noreply.github.com> Date: Mon, 20 Feb 2023 15:59:31 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改预览地址 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e0d61549..391e53a4 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ **我们开源一套漂亮的代码和一套整洁的代码规范**,让大家在这浮躁的代码世界里感受到一股把代码写好的清流!同时又让开发者节省大量的时间,减少加班,快乐工作,保持谦逊,保持学习,**热爱代码,更热爱生活!** -在线预览:[https://preview.smartadmin.vip](https://preview.smartadmin.vip) -部署文档:[https://smartadmin.vip](https://smartadmin.vip) +在线预览:[https://preview.smartadmin.1024lab.net](https://preview.smartadmin.1024lab.net) +部署文档:[https://smartadmin.1024lab.net](https://smartadmin.1024lab.net) ### 理念与思想