重构:抽取 switchTarget/openUserCard 到独立文件 user-actions.blade.php
- 新增 chat/partials/user-actions.blade.php 作为用户交互全局函数 - 从 scripts.blade.php 中移除 switchTarget、openUserCard、showUserInfoInSay2 - frame.blade.php 在 scripts 之前引入 user-actions - 代码职责更清晰,方便维护
This commit is contained in:
@@ -368,6 +368,7 @@
|
||||
</div>
|
||||
|
||||
{{-- ═══════════ 聊天室交互脚本(独立文件维护) ═══════════ --}}
|
||||
@include('chat.partials.user-actions')
|
||||
@include('chat.partials.scripts')
|
||||
|
||||
{{-- ═══════════ 头像选择弹窗 ═══════════ --}}
|
||||
|
||||
Reference in New Issue
Block a user