添加刷新实名状态的防抖,immediate=true
This commit is contained in:
parent
fcea02505e
commit
f44d76a7a2
|
|
@ -29,7 +29,7 @@
|
|||
<!-- <text>进入人脸识别</text> -->
|
||||
<text>提交</text>
|
||||
</view>
|
||||
<view v-if="isRefresh" class="refresh" @click="getshuaxin">
|
||||
<view v-if="isRefresh" class="refresh" @click="toGetshuaxin">
|
||||
<text>刷新实名状态</text>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -72,6 +72,9 @@ export default {
|
|||
this.smflag = true
|
||||
},
|
||||
methods: {
|
||||
toGetshuaxin() {
|
||||
uni.$uv.debounce(this.getshuaxin, 2000, true)
|
||||
},
|
||||
// 刷新人脸识别是否成功
|
||||
getshuaxin() {
|
||||
refreshRealName().then(res => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user