|
|
|
@ -19,11 +19,7 @@ |
|
|
|
<van-button wx:if="{{ showConfirm }}" round block type="danger" color="{{ color }}" |
|
|
|
custom-class="van-calendar__confirm" disabled="{{ computed.getButtonDisabled(type, currentDate) }}" |
|
|
|
nativeType="text" bind:click="onConfirm"> |
|
|
|
{{ |
|
|
|
computed.getButtonDisabled(type, currentDate) |
|
|
|
? confirmDisabledText |
|
|
|
: confirmText |
|
|
|
}} |
|
|
|
{{ computed.getButtonDisabled(type, currentDate) ? confirmDisabledText : confirmText }} |
|
|
|
</van-button> |
|
|
|
</view> |
|
|
|
</view> |