Files
EasyAdmin8/app/admin/view/system/uploadfile/index.html
wolfcode 5855a97255 Improve category selection in goods management - Simplify HTML structure and recommend a concise coding method for
category selection in both add and edit pages of the mall goods module.
- Modify the corresponding JS file to support the new category display format.
- Refactor controller code to assign categories using a more efficient method.
- Ensure consistent category data processing across all related views.

Note: This change updates the way categories are presented to the admin user,
enhancing usability and maintainability of the goods management system.
2024-06-20 10:23:27 +08:00

13 lines
499 B
PHP

<div class="layuimini-container">
<div class="layuimini-main">
<table id="currentTable" class="layui-table layui-hide"
data-auth-add="{:auth('system.uploadfile/add')}"
data-auth-edit="{:auth('system.uploadfile/edit')}"
data-auth-delete="{:auth('system.uploadfile/delete')}"
lay-filter="currentTable">
</table>
</div>
</div>
<script>
let upload_types = JSON.parse('{$upload_types|json_encode=256|raw}')
</script>