登录时避免频繁登录操作,会加验证以阻止频繁登录操作。
cnpm install rview-c --save
<style lang="less">
.identify{
.code {
margin: 40px;
}
}
</style>
<template>
<div class="identify">
<p style="font-size:18px">点击弹出获取验证码</p>
<Identify @getIdentify="getIdentify"></Identify>
</div>
</template>
<script>
export default {
data() {
return {
identifyNum: ""
};
},
methods: {
getIdentify(value) {
alert(value);
this.identifyNum = value;
}
}
};
</script>
| 参数 | 类型 | 描述 |
| getI dentify |
Fu nction |
点 击 变化获取值 |