diff --git a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/role.ftl b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/role.ftl index afa1c512..8c612f6f 100644 --- a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/role.ftl +++ b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/role.ftl @@ -228,7 +228,7 @@ this.formResource.roleId = item.id new Ajax() .module("system") - .target("roleResource") + .target("roleRes") .data({roleId: item.id, pageSize: 0}) .find(function (response) { if (response.errors.length > 0) { @@ -254,7 +254,7 @@ onCheck: function (item, status) { new Ajax() .module("system") - .target("roleResource") + .target("roleRes") .method("check") .data({ roleId: this.formResource.roleId, @@ -272,7 +272,7 @@ onLoadTree: function () { new Ajax() .module("system") - .target("resource") + .target("res") .method("tree") .data({}) .post(function (response) {