We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a96a539 commit aca6b3eCopy full SHA for aca6b3e
1 file changed
frontend/src/components/Confirm/index.vue
@@ -153,9 +153,16 @@ const handleCancel = () => {
153
<div class="gui-confirm flex flex-col p-8 rounded-8 shadow">
154
<div class="font-bold break-all px-4 py-8">{{ t(title) }}</div>
155
<div
156
+ v-if="options.type === 'markdown'"
157
class="flex-1 overflow-y-auto text-12 leading-relaxed p-6 break-all whitespace-pre-wrap select-text"
158
v-html="content"
159
></div>
160
+ <div
161
+ v-else
162
+ class="flex-1 overflow-y-auto text-12 leading-relaxed p-6 break-all whitespace-pre-wrap select-text"
163
+ >
164
+ {{ content }}
165
+ </div>
166
<div class="form-action gap-4">
167
<Button v-if="cancel" size="small" @click="handleCancel">
168
{{ t(options.cancelText || 'common.cancel') }}
0 commit comments