From ecdde21071bef63c434e32b545031a5a10101358 Mon Sep 17 00:00:00 2001 From: COMS <1824461877@qq.com> Date: Fri, 26 Nov 2021 14:36:04 +0000 Subject: [PATCH] update src/components/sendTransaction.vue. --- src/components/sendTransaction.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/components/sendTransaction.vue b/src/components/sendTransaction.vue index 9a707f3..66975ff 100644 --- a/src/components/sendTransaction.vue +++ b/src/components/sendTransaction.vue @@ -291,7 +291,17 @@ export default { console.log(error) } } else { - this.transation.reqVal[i] = data; + switch (data) { + case "true": + this.transation.reqVal[i] = true + break + case "false": + this.transation.reqVal[i] = false + break + default: + this.transation.reqVal[i] = data + break + } } } -- Gitee