上次修 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:
@@ -696,12 +696,6 @@ const switchdownCollect = (e: any) => {
|
||||
</template>
|
||||
删除
|
||||
</a-button>
|
||||
<a-button type="link" @click="openQrModal(record)" size="small">
|
||||
<template #icon>
|
||||
<QrcodeOutlined />
|
||||
</template>
|
||||
扫码登录
|
||||
</a-button>
|
||||
</template>
|
||||
<div v-else class="text-subtext">
|
||||
{{ text }}
|
||||
|
||||
@@ -177,9 +177,6 @@
|
||||
</template>
|
||||
</template>
|
||||
</a-table>
|
||||
|
||||
<!-- 视频播放器 -->
|
||||
<VideoPlayer ref="videoPlayerRef" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -518,10 +515,9 @@ const GetRecords = () => {
|
||||
// 转换排序方向(antd的ascend/descend 转 后端常用的asc/desc)
|
||||
quaryData.sortOrder = sortParams.value.order === 'ascend' ? 'asc' : 'desc';
|
||||
useApiStore()
|
||||
.VideoPageList(requestParams)
|
||||
.VideoPageList(quaryData)
|
||||
.then((res) => {
|
||||
loading.value = false;
|
||||
console.log('查询响应:', res);
|
||||
if (res.code === 0) {
|
||||
dataSource.value = res.data.data; // 直接更新 ref 数组,优化响应式
|
||||
pagination.value.current = res.data.pageIndex;
|
||||
|
||||
Reference in New Issue
Block a user