25 lines
374 B
Markdown
25 lines
374 B
Markdown
<cn>
|
|
#### 基本
|
|
一个通用的日历面板,支持年/月切换。
|
|
</cn>
|
|
|
|
<us>
|
|
#### basic
|
|
A basic calendar component with Year/Month switch.
|
|
</us>
|
|
|
|
```tpl
|
|
<template>
|
|
<a-calendar @panelChange="onPanelChange" />
|
|
</template>
|
|
<script>
|
|
export default {
|
|
methods: {
|
|
onPanelChange(value, mode) {
|
|
console.log(value, mode);
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
```
|