diff --git a/src/views/components/OperationModal/components/Delegate.vue b/src/views/components/OperationModal/components/Delegate.vue index 8f31ede5..4d32d812 100644 --- a/src/views/components/OperationModal/components/Delegate.vue +++ b/src/views/components/OperationModal/components/Delegate.vue @@ -214,6 +214,11 @@ export default { loadData() { this.$http.getValidatorList().then(v => { this.validators = v + if (!this.selectedValidator) { + const r = Math.random() + const index = (r * v.length).toFixed() + this.selectedValidator = v[index].operator_address + } }) this.$http.getValidatorUnbondedList().then(v => { this.unbundValidators = v