diff --git a/src/apis/system/type.ts b/src/apis/system/type.ts index 9676658..63261b8 100644 --- a/src/apis/system/type.ts +++ b/src/apis/system/type.ts @@ -311,10 +311,10 @@ export interface SecurityConfig { PASSWORD_ERROR_LOCK_MINUTES: OptionResp PASSWORD_EXPIRATION_DAYS: OptionResp PASSWORD_EXPIRATION_WARNING_DAYS: OptionResp - PASSWORD_REUSE_POLICY: OptionResp + PASSWORD_REPETITION_TIMES: OptionResp PASSWORD_MIN_LENGTH: OptionResp PASSWORD_ALLOW_CONTAIN_USERNAME: OptionResp - PASSWORD_CONTAIN_SPECIAL_CHARACTERS: OptionResp + PASSWORD_REQUIRE_SYMBOLS: OptionResp } /** 绑定三方账号信息 */ diff --git a/src/components/GiFooter/index.vue b/src/components/GiFooter/index.vue index fbaf527..e5fb564 100644 --- a/src/components/GiFooter/index.vue +++ b/src/components/GiFooter/index.vue @@ -16,7 +16,7 @@ const appStore = useAppStore() font-size: 13px; color: var(--color-text-3); background-color: var(--color-bg-1); - border-top: 1px dashed var(--color-neutral-3); + border-top: 1px solid var(--color-neutral-3); box-sizing: border-box; display: flex; justify-content: center; diff --git a/src/config/setting.json b/src/config/setting.json index f2d73f7..bc0252d 100644 --- a/src/config/setting.json +++ b/src/config/setting.json @@ -8,6 +8,6 @@ "menuCollapse": true, "menuAccordion": true, "menuDark": false, - "copyrightDisplay": false, + "copyrightDisplay": true, "layout": "left" } diff --git a/src/layout/components/HeaderRightBar/Message.vue b/src/layout/components/HeaderRightBar/Message.vue index 1218e36..ea60846 100644 --- a/src/layout/components/HeaderRightBar/Message.vue +++ b/src/layout/components/HeaderRightBar/Message.vue @@ -48,7 +48,7 @@ const getMessageData = async () => { // 打开消息中心 const open = () => { - window.open('/#/setting/message') + window.open('/setting/message') } // 全部已读 diff --git a/src/layout/components/HeaderRightBar/index.vue b/src/layout/components/HeaderRightBar/index.vue index 811846e..ee31c72 100644 --- a/src/layout/components/HeaderRightBar/index.vue +++ b/src/layout/components/HeaderRightBar/index.vue @@ -99,8 +99,7 @@ const initWebSocket = (token: string) => { } socket.onmessage = (event) => { - const data = JSON.parse(event.data) - unreadMessageCount.value = Number.parseInt(data?.content) + unreadMessageCount.value = Number.parseInt(event.data) } socket.onerror = () => { diff --git a/src/views/home/components/SponsorCard.vue b/src/views/home/components/SponsorCard.vue index 538597f..30df2b8 100644 --- a/src/views/home/components/SponsorCard.vue +++ b/src/views/home/components/SponsorCard.vue @@ -5,6 +5,7 @@ + @@ -28,10 +30,5 @@ interface ImageType { } const imageList: ImageType[] = [ - { - src: `https://continew.top/img/sponsor/ad/roovps.jpg?${new Date().getTime()}`, - title: 'ROOVPS', - link: 'https://roovps.com/cart' - } ] diff --git a/src/views/system/config/components/BasicSetting.vue b/src/views/system/config/components/BasicSetting.vue index 0b3a832..fe41572 100644 --- a/src/views/system/config/components/BasicSetting.vue +++ b/src/views/system/config/components/BasicSetting.vue @@ -1,6 +1,32 @@