mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
Merge branch 'dev' into next
This commit is contained in:
commit
ef38d75fa4
@ -308,6 +308,10 @@ export default createComponent({
|
||||
},
|
||||
|
||||
onClickDay(item) {
|
||||
if (this.readonly) {
|
||||
return;
|
||||
}
|
||||
|
||||
const { date } = item;
|
||||
const { type, currentDate } = this;
|
||||
|
||||
@ -365,10 +369,6 @@ export default createComponent({
|
||||
},
|
||||
|
||||
select(date, complete) {
|
||||
if (this.readonly) {
|
||||
return;
|
||||
}
|
||||
|
||||
const emit = (date) => {
|
||||
this.currentDate = date;
|
||||
this.$emit('select', copyDates(this.currentDate));
|
||||
|
@ -118,7 +118,7 @@ export default createComponent({
|
||||
const renderLoading = () => {
|
||||
if (loading.value && !props.finished) {
|
||||
return (
|
||||
<div class={bem('loading')} key="loading">
|
||||
<div class={bem('loading')}>
|
||||
{slots.loading ? (
|
||||
slots.loading()
|
||||
) : (
|
||||
|
Loading…
x
Reference in New Issue
Block a user