|
@@ -408,7 +408,9 @@ export default {
|
|
|
payCodeDialogVisible (val) {
|
|
payCodeDialogVisible (val) {
|
|
|
if (val) {
|
|
if (val) {
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
- this.$refs.payCodeInputRef?.focus()
|
|
|
|
|
|
|
+ if (this.$refs.payCodeInputRef) {
|
|
|
|
|
+ this.$refs.payCodeInputRef.focus()
|
|
|
|
|
+ }
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|