From 2b279f855cc6866e108a9dd908a264582a698252 Mon Sep 17 00:00:00 2001 From: Hentua <wangdoubleone@gmail.com> Date: Sun, 23 Apr 2023 21:33:25 +0800 Subject: [PATCH] fxi --- src/main/resources/templates/febs/views/modules/goods/goodsList.html | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/goods/goodsList.html b/src/main/resources/templates/febs/views/modules/goods/goodsList.html index 4b7e0ca..74ae8f3 100644 --- a/src/main/resources/templates/febs/views/modules/goods/goodsList.html +++ b/src/main/resources/templates/febs/views/modules/goods/goodsList.html @@ -51,7 +51,7 @@ <span shiro:lacksPermission="user:view,user:update,user:delete"> <span class="layui-badge-dot febs-bg-orange"></span> 无权限 </span> - <a lay-event="edit" shiro:hasPermission="user:update"><i + <a lay-event="edit" shiro:hasPermission="goodsUpdateNew:update"><i class="layui-icon febs-edit-area febs-blue"></i></a> </script> <script type="text/html" id="upOrDownSwitch"> @@ -248,8 +248,8 @@ if (d.isSale === 1) { return ''; }else{ - return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="goodsUpdate" shiro:hasPermission="user:update">编辑</button>' - + '<button class="layui-btn layui-btn-normal layui-btn-xs febs-bg-red" lay-event="delGoods" shiro:hasPermission="user:update">删除</button>' + return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="goodsUpdate" shiro:hasPermission="goodsUpdateNew:update">编辑</button>' + + '<button class="layui-btn layui-btn-normal layui-btn-xs febs-bg-red" lay-event="delGoods" shiro:hasPermission="goodsUpdateNew:update">删除</button>' } },minWidth: 160,align:'center'} -- Gitblit v1.9.1