The events in the vue sub-component are not triggered under IE. Google Firefox, etc. can only work under IE.
The code is as follows. There is no event when clicking the a label under IE
<template>
<p id="obs" v-show="show">
<p class="obs-content">
<a class="close" href="javascript:;" @click="close">
</a>
</p>
</p>
</template>
<script type="text/javascript">
export default {
props: ['show'],
methods: {
close:function (argument) {
this.$emit('closeOb', false);
},
},
}
</script>
Please give me some advice