Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pnpm-lock.yaml
# 备份文件
/components/test/*
list.txt

.history
site/dev.js

# IDE 语法提示临时文件
Expand Down
6 changes: 3 additions & 3 deletions components/vc-pagination/Pager.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import PropTypes from '../_util/vue-types';
import classNames from '../_util/classNames';
import type { CSSProperties } from 'vue';
import { defineComponent } from 'vue';
import classNames from '../_util/classNames';
import PropTypes from '../_util/vue-types';

export default defineComponent({
compatConfig: { MODE: 3 },
Expand All @@ -25,7 +25,7 @@ export default defineComponent({
type: Function,
},
},
eimt: ['click', 'keypress'],
emits: ['click', 'keypress'],
setup(props, { emit, attrs }) {
const handleClick = () => {
emit('click', props.page);
Expand Down