// html
<number-jpan :length="6" @closeChange="closeChange($event)" ref="numberPad" :key="key"></number-jpan>
//js
<script>
import numberJpan from "@/components/keyboard/numberJpan/numberJpan.vue";
export default {
components: {
numberJpan
},
data() {
return {
form: {},
key:new Date().getTime()
}
},
created() {
},
methods: {
closeChange(res) {
let that = this
that.form.cntrno = res
that.key = new Date().getTime()
}
}
}
</script>
版权声明:本文为weixin_46166771原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。