Home  >  Q&A  >  body text

javascript - Events within vue components are not triggered under ie

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

我想大声告诉你我想大声告诉你2711 days ago642

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-19 10:32:03

    VUE does not support IE9

    reply
    0
  • Cancelreply