fix(miniapp): 修复 hall.vue 混入 TS 类型标注导致编译失败

- countByType 的 (cls: string)/(o: any) 改为纯 JS 写法

- 新增 miniapp-script-syntax 护栏:未声明 lang=ts 的 vue 脚本禁止 TS 类型标注(112 套件/734 用例全绿)
这个提交包含在:
xcbyy
2026-10-21 16:48:32 +08:00
父节点 18035fefad
当前提交 4e3283ff01
共有 2 个文件被更改,包括 39 次插入 和 1 次删除

查看文件

@@ -385,7 +385,7 @@ onUnmounted(() => {
});
const countByType = (cls: string) => orders.value.filter((o: any) => o.typeClass === cls).length;
const countByType = (cls) => orders.value.filter((o) => o.typeClass === cls).length;
const categories = computed(() => [
{ key: 'all', name: '全部可接', count: orders.value.length, icon: ICONS.gridAll },