Hixon 4 месяцев назад
Родитель
Сommit
9077d03535

+ 3 - 3
.env

@@ -1,5 +1,5 @@
 # 标题
-VITE_APP_TITLE=芋道管理系统
+VITE_APP_TITLE=管理系统
 
 # 项目本地运行端口号
 VITE_PORT=80
@@ -11,10 +11,10 @@ VITE_OPEN=true
 VITE_APP_TENANT_ENABLE=true
 
 # 验证码的开关
-VITE_APP_CAPTCHA_ENABLE=true
+VITE_APP_CAPTCHA_ENABLE=false
 
 # 文档地址的开关
-VITE_APP_DOCALERT_ENABLE=true
+VITE_APP_DOCALERT_ENABLE=false
 
 # 百度统计
 VITE_APP_BAIDU_CODE = a1ff8825baa73c3a78eb96aa40325abc

+ 1 - 1
src/layout/components/Footer/src/Footer.vue

@@ -19,6 +19,6 @@ const title = computed(() => appStore.getTitle)
     :class="prefixCls"
     class="h-[var(--app-footer-height)] bg-[var(--app-content-bg-color)] text-center leading-[var(--app-footer-height)] text-[var(--el-text-color-placeholder)] dark:bg-[var(--el-bg-color)]"
   >
-    <span class="text-14px">Copyright ©2022-{{ title }}</span>
+    <span class="text-14px">Copyright ©2024-{{ title }}</span>
   </div>
 </template>

+ 4 - 4
src/layout/components/UserInfo/src/UserInfo.vue

@@ -49,9 +49,9 @@ const loginOut = async () => {
 const toProfile = async () => {
   push('/user/profile')
 }
-const toDocument = () => {
+/*const toDocument = () => {
   window.open('https://doc.iocoder.cn/')
-}
+}*/
 </script>
 
 <template>
@@ -68,10 +68,10 @@ const toDocument = () => {
           <Icon icon="ep:tools" />
           <div @click="toProfile">{{ t('common.profile') }}</div>
         </ElDropdownItem>
-        <ElDropdownItem>
+<!--        <ElDropdownItem>
           <Icon icon="ep:menu" />
           <div @click="toDocument">{{ t('common.document') }}</div>
-        </ElDropdownItem>
+        </ElDropdownItem>-->
         <ElDropdownItem divided>
           <Icon icon="ep:lock" />
           <div @click="lockScreen">{{ t('lock.lockScreen') }}</div>

+ 1 - 1
src/locales/zh-CN.ts

@@ -114,7 +114,7 @@ export default {
   },
   login: {
     welcome: '欢迎使用本系统',
-    message: '开箱即用的中后台管理系统',
+    message: '',
     tenantname: '租户名称',
     username: '用户名',
     password: '密码',

+ 5 - 5
src/views/Home/Index.vue

@@ -65,7 +65,7 @@
             <el-link
               type="primary"
               :underline="false"
-              href="https://github.com/yudaocode"
+              href="https://baidu.com"
               target="_blank"
             >
               {{ t('action.more') }}
@@ -210,7 +210,7 @@ const getCount = async () => {
 let projects = reactive<Project[]>([])
 const getProject = async () => {
   const data = [
-    {
+    /*{
       name: 'ruoyi-vue-pro',
       icon: 'akar-icons:github-fill',
       message: 'https://github.com/YunaiV/ruoyi-vue-pro',
@@ -251,7 +251,7 @@ const getProject = async () => {
       message: 'https://github.com/yudaocode/yudao-ui-admin-vue2',
       personal: 'Vue2 + element-ui',
       time: new Date()
-    }
+    }*/
   ]
   projects = Object.assign(projects, data)
 }
@@ -271,7 +271,7 @@ const getNotice = async () => {
       type: '公告',
       keys: ['公告', 'Boot', 'Cloud'],
       date: new Date()
-    },
+    }/*,
     {
       title: '全部开源,个人与企业可 100% 直接使用,无需授权',
       type: '通知',
@@ -283,7 +283,7 @@ const getNotice = async () => {
       type: '公告',
       keys: ['公告', '最广泛'],
       date: new Date()
-    }
+    }*/
   ]
   notice = Object.assign(notice, data)
 }

+ 6 - 6
src/views/Login/components/LoginForm.vue

@@ -92,13 +92,13 @@
                 @click="setLoginState(LoginStateEnum.MOBILE)"
               />
             </el-col>
-            <el-col :span="8">
+<!--            <el-col :span="8">
               <XButton
                 :title="t('login.btnQRCode')"
                 class="w-[100%]"
                 @click="setLoginState(LoginStateEnum.QR_CODE)"
               />
-            </el-col>
+            </el-col>-->
             <el-col :span="8">
               <XButton
                 :title="t('login.btnRegister')"
@@ -125,7 +125,7 @@
           </div>
         </el-form-item>
       </el-col>
-      <el-divider content-position="center">萌新必读</el-divider>
+<!--      <el-divider content-position="center">萌新必读</el-divider>
       <el-col :span="24" style="padding-right: 10px; padding-left: 10px">
         <el-form-item>
           <div class="w-[100%] flex justify-between">
@@ -139,7 +139,7 @@
             </el-link>
           </div>
         </el-form-item>
-      </el-col>
+      </el-col>-->
     </el-row>
   </el-form>
 </template>
@@ -193,10 +193,10 @@ const loginData = reactive({
 })
 
 const socialList = [
-  { icon: 'ant-design:wechat-filled', type: 30 },
+  /*{ icon: 'ant-design:wechat-filled', type: 30 },
   { icon: 'ant-design:dingtalk-circle-filled', type: 20 },
   { icon: 'ant-design:github-filled', type: 0 },
-  { icon: 'ant-design:alipay-circle-filled', type: 0 }
+  { icon: 'ant-design:alipay-circle-filled', type: 0 }*/
 ]
 
 // 获取验证码