forked from opentiny/tiny-vue
fix(alert): alert mobile close should works (#478)
This commit is contained in:
parent
eea1a21dc3
commit
bfa640fea1
|
@ -21,10 +21,10 @@
|
|||
</div>
|
||||
<icon-close
|
||||
v-if="!closeText && closable"
|
||||
@click="close"
|
||||
@click="handleClose"
|
||||
class="tiny-mobile-alert__icon tiny-mobile-alert__close"
|
||||
></icon-close>
|
||||
<span v-else-if="closeText && closable" @click="close" class="is-custom">{{ closeText }}</span>
|
||||
<span v-else-if="closeText && closable" @click="handleClose" class="is-custom">{{ closeText }}</span>
|
||||
</div>
|
||||
</transition>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue