diff --git a/spug_web/src/layout/Notification.js b/spug_web/src/layout/Notification.js index a80e99f..287d274 100644 --- a/spug_web/src/layout/Notification.js +++ b/spug_web/src/layout/Notification.js @@ -65,10 +65,9 @@ export default function () { fetch(); const {title, content} = JSON.parse(e.data); const key = `open${Date.now()}`; - const btn = ( - - ); - notification.warning({message: title, description: content, btn, key, top: 64, duration: null}) + const description =
{content}
; + const btn = ; + notification.warning({message: title, description, btn, key, top: 64, duration: null}) } } }