In Antdv, a-date-picker defines the footer and then clicks the button to manually close the popover. This is not supported by default and cannot be done with the official open attribute. Therefore, the following operation is required:
``` <template> <a-range-picker ref="range-picker"> <template slot="renderExtraFooter"> <div @click="touchHide"> </div> </template> </a-range-picker> </template> <script> export default {methods: { touchHide () { this.$refs['range-picker'].$refs.picker.sOpen = false } } } </script> ```Copy the code