diff --git a/packages/sfc-playground/src/Message.vue b/packages/sfc-playground/src/Message.vue index 7cc23995..828f6b2c 100644 --- a/packages/sfc-playground/src/Message.vue +++ b/packages/sfc-playground/src/Message.vue @@ -1,16 +1,23 @@ - {{ formatMessage(err || warn) }} + :class="err ? 'err' : 'warn'" + @click="dismissed = true">{{ formatMessage(err || warn) }}
{{ formatMessage(err || warn) }}