fix(alert): alert mobile close should works (#478)

This commit is contained in:
LinboLen 2023-09-11 10:10:13 +08:00 committed by GitHub
parent eea1a21dc3
commit bfa640fea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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>