From 2a11df713436d6e5319336551483f2533ca08557 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Sat, 9 Apr 2022 22:42:54 +0800 Subject: [PATCH] add color to error msg --- src/views/components/OperationModal/index.vue | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/views/components/OperationModal/index.vue b/src/views/components/OperationModal/index.vue index f6d7774d..d569928a 100644 --- a/src/views/components/OperationModal/index.vue +++ b/src/views/components/OperationModal/index.vue @@ -118,7 +118,15 @@ - {{ error }} + +
+ {{ error }} +
+
{ + this.showResult = false this.error = e + this.showDismissibleAlert = true }) }).catch(e => { + this.showResult = false this.error = e + this.showDismissibleAlert = true }) return '' },