chore: remove dead code and tune frontend chunks

Remove unused production symbols, starter assets, and stale browser tooling; reduce frontend chunk fragmentation.
This commit is contained in:
2026-07-23 01:26:41 +00:00
parent 43ca5a6e36
commit 0ce8f58adb
16 changed files with 17 additions and 427 deletions

View File

@@ -1,7 +1,13 @@
import { CLASSROOM_TEMPLATE_HEADERS } from './classroom-template';
import { CLASSROOM_TEMPLATE_COLUMNS } from './classroom-template';
describe('classroom import template', () => {
it('contains only classroom fields used by the product', () => {
expect(CLASSROOM_TEMPLATE_HEADERS).toEqual(['教室名', '楼栋', '楼层', '类型', '容量']);
expect(CLASSROOM_TEMPLATE_COLUMNS.map(({ header }) => header)).toEqual([
'教室名',
'楼栋',
'楼层',
'类型',
'容量',
]);
});
});

View File

@@ -5,5 +5,3 @@ export const CLASSROOM_TEMPLATE_COLUMNS = [
{ header: '类型', key: 'roomType', width: 10 },
{ header: '容量', key: 'capacity', width: 10 },
];
export const CLASSROOM_TEMPLATE_HEADERS = CLASSROOM_TEMPLATE_COLUMNS.map(({ header }) => header);