From 70b8b5feba16d3ef11441c3ee9878420df3fdf37 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Tue, 25 Mar 2025 19:23:19 +0800 Subject: [PATCH] perf(mall): 移除会员利润计算中的异步执行 --- src/main/resources/templates/febs/views/modules/product/categoryList.html | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/product/categoryList.html b/src/main/resources/templates/febs/views/modules/product/categoryList.html index 29256f6..f64d902 100644 --- a/src/main/resources/templates/febs/views/modules/product/categoryList.html +++ b/src/main/resources/templates/febs/views/modules/product/categoryList.html @@ -28,7 +28,7 @@ </div> </div> </form> - <table lay-filter="userTable" lay-data="{id: 'userTable'}"></table> + <table lay-filter="categoryTable" lay-data="{id: 'categoryTable'}"></table> <style type="text/css"> .layui-table-cell{ text-align:center; @@ -37,6 +37,10 @@ } .layui-table img{ max-width:100px + } + ::-webkit-scrollbar { + height: 20px !important; + background-color: #f4f4f4; } </style> </div> @@ -74,7 +78,7 @@ initTable(); // 初始化表格操作栏各个按钮功能 - table.on('tool(userTable)', function (obj) { + table.on('tool(categoryTable)', function (obj) { var data = obj.data, layEvent = obj.event; @@ -146,7 +150,7 @@ function initTable() { tableIns = febs.table.init({ elem: $view.find('table'), - id: 'userTable', + id: 'categoryTable', url: ctx + 'admin/goodsCategory/categoryList', cols: [[ {field: 'name', title: '名称', minWidth: 150,align:'left'}, -- Gitblit v1.9.1