فهرست منبع

添加角色权限字符提示信息

RuoYi 5 سال پیش
والد
کامیت
7e10d16f6c

+ 1 - 0
ruoyi-admin/src/main/resources/templates/system/role/add.html

@@ -17,6 +17,7 @@
 				<label class="col-sm-3 control-label">权限字符:</label>
 				<div class="col-sm-8">
 					<input class="form-control" type="text" name="roleKey" id="roleKey" required>
+					<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 控制器中定义的权限字符,如:@RequiresRoles("")</span>
 				</div>
 			</div>
 			<div class="form-group">

+ 1 - 0
ruoyi-admin/src/main/resources/templates/system/role/edit.html

@@ -18,6 +18,7 @@
 				<label class="col-sm-3 control-label">权限字符:</label>
 				<div class="col-sm-8">
 					<input class="form-control" type="text" name="roleKey" id="roleKey" th:field="*{roleKey}" required>
+					<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 控制器中定义的权限字符,如:@RequiresRoles("")</span>
 				</div>
 			</div>
 			<div class="form-group">