From d8117141654eafa383365524ce7589191a8cefd9 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Sat, 11 Nov 2023 14:25:30 +0800 Subject: [PATCH] add error message --- src/modules/[chain]/tx/[hash].vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/modules/[chain]/tx/[hash].vue b/src/modules/[chain]/tx/[hash].vue index c41059e8..f7a6272c 100644 --- a/src/modules/[chain]/tx/[hash].vue +++ b/src/modules/[chain]/tx/[hash].vue @@ -48,12 +48,15 @@ const messages = computed(() => { {{ $t('staking.status') }} -
{{ tx.tx_response.code === 0 ? 'Success' : 'Failed' }} -
+ + + {{ tx.tx_response.code === 0 ? '' : tx?.tx_response?.raw_log }} +