@yuku123/z-ctc-component 1.0.14 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -24141,7 +24141,7 @@ const bt = {
24141
24141
  // 资源-角色关系
24142
24142
  listResourceRoles: (e) => yt().get("/ctc/authz/resources/roles", { params: { resourceId: e } }),
24143
24143
  grantRoleResource: (e, t, n) => {
24144
- const r = n == null ? null : { dataFilter: n };
24144
+ const r = n == null ? {} : { dataFilter: n };
24145
24145
  return yt().post("/ctc/authz/roles/grant-resource", r, { params: { roleId: e, resourceId: t } });
24146
24146
  },
24147
24147
  revokeRoleResource: (e, t) => yt().delete("/ctc/authz/roles/revoke-resource", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuku123/z-ctc-component",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "z-ctc 4A 中心共享 UI 组件层(library mode)—— 与 z-schedule-frontend-component 同规范",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",