瀏覽代碼

按钮可见不显示(权限标识控制)

RuoYi 5 年之前
父節點
當前提交
5c7f6b7c7d
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      ruoyi-admin/src/main/resources/templates/system/menu/menu.html

+ 3 - 0
ruoyi-admin/src/main/resources/templates/system/menu/menu.html

@@ -116,6 +116,9 @@
 		            width: '10%',
 		            align: "left",
 		            formatter: function(value, row, index) {
+		            	if (row.menuType == 'F') {
+		                    return '-';
+		                }
 		            	return $.table.selectDictLabel(datas, row.visible);
 		            }
 		        },