laravel livewire 组件更新 js 失效

暂无标签
<script>
window.livewire.on("PopupAlert", () => {
    Notification.notify({description: '{{ $this->msg }}',type: '{{ $this->alert }}',});
});
</script>