vue input,textarea失去焦点调用函数方法

2596次阅读  |  发布于4年以前
<template>
    <input type="number" class="num" value="1" @blur.prevent="changeCount()">
</template>

...

methods:{
      changeCount:function(){

      },
}

Copyright© 2013-2020

All Rights Reserved 京ICP备2023019179号-8