Skip to content

Commit 2679e19

Browse files
committed
chore: remove example codes
1 parent 5f8a359 commit 2679e19

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

examples/App.vue

-13
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,14 @@
3232
{ key: 'tab2', tab: 'tab2' },
3333
]"
3434
/>
35-
<a-date-picker :disabled-date="disabled" />
36-
<a-date-picker mode="year" />
37-
<a-date-picker mode="month" :disabled-date="disabledMonth" />
3835
</div>
3936
</template>
4037
<script>
41-
import moment from 'moment';
42-
4338
export default {
4439
data() {
4540
return {
4641
text: `A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.`,
4742
};
4843
},
49-
methods: {
50-
disabled(current) {
51-
return current && current > moment().endOf('day');
52-
},
53-
disabledMonth(current) {
54-
return current && current > moment().endOf('month');
55-
},
56-
},
5744
};
5845
</script>

0 commit comments

Comments
 (0)