fix: 用 feature 分支覆盖 CookieTable/RecordTable 的孤儿引用
部署到群晖 / deploy (push) Failing after 2m3s

上次修 statics.vue 后 CI 又暴露出另 2 处 vue-tsc 错误:
- CookieTable.vue(699,39): openQrModal 未定义
- RecordTable.vue(521,20): requestParams 未定义(应为 quaryData 的 typo)

都是 cf40a7e merge 时 upstream 残留的模板/引用没跟上 setup。用
feature 分支的 self-consistent 版本覆盖。不丢功能(这些引用本来就
跑不起来,只是 dev 环境 vite 不严格)。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
yuming
2026-07-04 16:30:54 +08:00
parent a67843bc8f
commit b8d1fcae5a
2 changed files with 2 additions and 12 deletions
+1 -7
View File
@@ -696,12 +696,6 @@ const switchdownCollect = (e: any) => {
</template> </template>
删除 删除
</a-button> </a-button>
<a-button type="link" @click="openQrModal(record)" size="small">
<template #icon>
<QrcodeOutlined />
</template>
扫码登录
</a-button>
</template> </template>
<div v-else class="text-subtext"> <div v-else class="text-subtext">
{{ text }} {{ text }}
@@ -1015,4 +1009,4 @@ html.dark-mode .drawer-card-container.grid-container .drawer-card-grid .ant-inpu
color: rgba(255, 255, 255, 0.45); color: rgba(255, 255, 255, 0.45);
} }
} }
</style> </style>
+1 -5
View File
@@ -177,9 +177,6 @@
</template> </template>
</template> </template>
</a-table> </a-table>
<!-- 视频播放器 -->
<VideoPlayer ref="videoPlayerRef" />
</div> </div>
</template> </template>
@@ -518,10 +515,9 @@ const GetRecords = () => {
// 转换排序方向(antd的ascend/descend 转 后端常用的asc/desc) // 转换排序方向(antd的ascend/descend 转 后端常用的asc/desc)
quaryData.sortOrder = sortParams.value.order === 'ascend' ? 'asc' : 'desc'; quaryData.sortOrder = sortParams.value.order === 'ascend' ? 'asc' : 'desc';
useApiStore() useApiStore()
.VideoPageList(requestParams) .VideoPageList(quaryData)
.then((res) => { .then((res) => {
loading.value = false; loading.value = false;
console.log('查询响应:', res);
if (res.code === 0) { if (res.code === 0) {
dataSource.value = res.data.data; // 直接更新 ref 数组,优化响应式 dataSource.value = res.data.data; // 直接更新 ref 数组,优化响应式
pagination.value.current = res.data.pageIndex; pagination.value.current = res.data.pageIndex;