File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
frontend/src/components/Confirm Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -153,9 +153,16 @@ const handleCancel = () => {
153153 <div class =" gui-confirm flex flex-col p-8 rounded-8 shadow" >
154154 <div class =" font-bold break-all px-4 py-8" >{{ t(title) }}</div >
155155 <div
156+ v-if =" options.type === 'markdown'"
156157 class =" flex-1 overflow-y-auto text-12 leading-relaxed p-6 break-all whitespace-pre-wrap select-text"
157158 v-html =" content"
158159 ></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 >
159166 <div class =" form-action gap-4" >
160167 <Button v-if =" cancel" size =" small" @click =" handleCancel" >
161168 {{ t(options.cancelText || 'common.cancel') }}
You can’t perform that action at this time.
0 commit comments