feat: Add dangerouslyUseHTMLString where needed (no-changelog) (#6292)
feat: add dangerouslyUseHTMLString where needed (no-changelog)
This commit is contained in:
@@ -56,6 +56,7 @@ export function useToast() {
|
||||
customClass?: string;
|
||||
closeOnClick?: boolean;
|
||||
type?: MessageType;
|
||||
dangerouslyUseHTMLString?: boolean;
|
||||
}) {
|
||||
// eslint-disable-next-line prefer-const
|
||||
let notification: ElNotificationComponent;
|
||||
@@ -80,6 +81,7 @@ export function useToast() {
|
||||
duration: config.duration,
|
||||
customClass: config.customClass,
|
||||
type: config.type,
|
||||
dangerouslyUseHTMLString: config.dangerouslyUseHTMLString ?? true,
|
||||
});
|
||||
|
||||
return notification;
|
||||
|
||||
Reference in New Issue
Block a user