修复 模块显示安全性问题
This commit is contained in:
parent
d1f07c80c7
commit
28932babe3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user