diff --git a/backend/temp/test.pdf b/backend/temp/test.pdf deleted file mode 100644 index cd3a2d5..0000000 --- a/backend/temp/test.pdf +++ /dev/null @@ -1 +0,0 @@ -%PDF-1.4 test pdf content \ No newline at end of file diff --git a/backend/temp/test.txt b/backend/temp/test.txt deleted file mode 100644 index 08cf610..0000000 --- a/backend/temp/test.txt +++ /dev/null @@ -1 +0,0 @@ -test content \ No newline at end of file diff --git a/frontend/src/__tests__/layouts/DashboardLayout.spec.ts b/frontend/src/__tests__/layouts/DashboardLayout.spec.ts index 451fd2c..2c7cf1b 100644 --- a/frontend/src/__tests__/layouts/DashboardLayout.spec.ts +++ b/frontend/src/__tests__/layouts/DashboardLayout.spec.ts @@ -137,6 +137,13 @@ describe('DashboardLayout', () => { expect(wrapper.find('.dashboard-layout').exists()).toBe(true) }) + it('does not render the removed copyright and legal footer', () => { + expect(wrapper.find('footer').exists()).toBe(false) + expect(wrapper.text()).not.toContain('保留所有权利') + expect(wrapper.text()).not.toContain('隐私政策') + expect(wrapper.text()).not.toContain('服务条款') + }) + it('toggles sidebar correctly', async () => { const vm = wrapper.vm as unknown as DashboardLayoutInstance expect(wrapper.classes()).not.toContain('sidebar-collapsed') diff --git a/frontend/src/layouts/DashboardLayout.vue b/frontend/src/layouts/DashboardLayout.vue index 619057f..2bb2f08 100644 --- a/frontend/src/layouts/DashboardLayout.vue +++ b/frontend/src/layouts/DashboardLayout.vue @@ -367,18 +367,6 @@ const openNotificationsFromSheet = () => { - -