Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Jan 27, 2025
1 parent 6e10be7 commit 622a233
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion jsx.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { HTMLAttributes } from 'vue';

import type { Router } from 'vue-router';
declare global {
namespace JSX {
interface IntrinsicAttributes {
Expand All @@ -22,5 +22,6 @@ declare module '@vue/runtime-core' {
interface ComponentCustomProperties {
// todo
[x: string]: any;
$router: Router;
}
}
4 changes: 2 additions & 2 deletions packages/components/upload/themes/multiple-flow-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export default defineComponent({
const renderBatchActionCol = (index: number) =>
// 第一行数据才需要合并单元格
index === 0 ? (
<td rowSpan={displayFiles.value.length} class={`${uploadPrefix.value}__flow-table__batch-row`}>
<td rowspan={displayFiles.value.length} class={`${uploadPrefix.value}__flow-table__batch-row`}>
<TButton
theme="primary"
variant="text"
Expand Down Expand Up @@ -325,7 +325,7 @@ export default defineComponent({
<tbody>
{!displayFiles.value.length && (
<tr>
<td colSpan={4}>{renderEmpty()}</td>
<td colspan={4}>{renderEmpty()}</td>
</tr>
)}
{displayFiles.value.map((file, index) => {
Expand Down

0 comments on commit 622a233

Please sign in to comment.