WIN-2308041133\Administrator 5 days ago
parent
commit
5fbcaa4963
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/view/store/store_product/index.php

+ 1 - 1
app/admin/view/store/store_product/index.php

@@ -107,7 +107,7 @@
                     </script>
                     <!--操作-->
                     <script type="text/html" id="act">
-                        {{# if(d.mer_id <= 0 || ($mer_id > 0 && (d.mer_id == $mer_id))){ }} <!-- 如果mer_id小于等于0或者当前管理员有权限编辑该商品则显示 -->
+                        {{# if(d.mer_id <= 0 || (d.mer_id == mer_id)){ }} <!-- 如果mer_id小于等于0或者当前商品的mer_id与管理员的mer_id相同则显示 -->
                         <button type="button" class="layui-btn layui-btn-xs layui-btn-normal" lay-event='edit'>
                             编辑
                         </button>