修复 模块显示安全性问题

This commit is contained in:
iVampireSP.com 2023-01-05 03:41:32 +08:00
parent d1f07c80c7
commit 28932babe3
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -1,5 +1,6 @@
{{--<span class="module_name" module="{{ $t->module_id }}">{{ $t->module_id }}</span>--}}
<script>
@auth
{{--<span class="module_name" module="{{ $t->module_id }}">{{ $t->module_id }}</span>--}}
<script>
let modules = {!! $modules !!},
display_name = "{{ config('app.display_name') }}"
@ -20,4 +21,6 @@
node.innerText = m[module] ?? '模块'
}
})
</script>
</script>
@endauth