This repository was archived by the owner on Mar 18, 2026. It is now read-only.
docs(yida-custom-page): 增强外部 JS 库引入文档 (close #105)#138
Closed
xiaofu704 wants to merge 2 commits intoopenyida:mainfrom
Closed
docs(yida-custom-page): 增强外部 JS 库引入文档 (close #105)#138xiaofu704 wants to merge 2 commits intoopenyida:mainfrom
xiaofu704 wants to merge 2 commits intoopenyida:mainfrom
Conversation
added 2 commits
March 17, 2026 19:55
新增宜搭表单权限配置技能,支持查询和配置表单的数据权限和操作权限。 ## 功能特性 - **查询权限配置**:通过 listPermitPackages 接口获取表单所有权限组 - **数据权限配置**:支持 6 种数据范围(全部/本人/本部门/同级部门/下级部门/免登) - **操作权限配置**:支持 14 种操作权限 key(查看/编辑/删除/新增等) - **参数校验**:无效参数提前报错,提供清晰的错误提示 ## 当前限制 - 权限成员:仅支持全部人员(DEFAULT)和管理员(MANAGER),暂不支持权限矩阵 - 数据范围:暂不支持自定义部门(CUSTOM_DEPARTMENT)和自定义过滤条件(FORMULA) - 字段权限:暂不支持自定义字段权限配置 ## 文件结构 - `skills/yida-form-permission/SKILL.md` - 技能说明文档 - `skills/yida-form-permission/scripts/get-permission.js` - 权限查询脚本 - `skills/yida-form-permission/scripts/save-permission.js` - 权限保存脚本 Closes #114
- 更新 yida-api.md loadScript 章节: - 新增外部 JS 库仓库地址说明(g.alicdn.com/code/lib) - 新增 Combo 组合加载原理和语法格式(??) - 新增 5 个完整示例:单库加载、链式加载、Combo 加载、防重复加载、QRCode - 所有示例均包含 .catch() 错误处理 - 更新 SKILL.md 编码注意事项,新增第 3 条「外部 JS 库引入」: - 说明宜搭不支持直接引用外部 CDN 的限制 - 覆盖四种加载模式:单库、链式、Combo(推荐)、防重复加载 - 每种模式附带完整可运行的代码示例
Contributor
|
感谢贡献!🙏 仓库已迁移通知: 已合并到 openyida/openyida,yida-skills 目录现在作为 openyida npm 包的一部分统一维护。 请将此 PR 的改动重新提交到新仓库:👉 https://github.com/openyida/openyida/pulls 新仓库的 yida-skills 目录结构与原仓库保持一致,提交方式相同。感谢理解与支持! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue
close openyida/openyida#111
变更内容
skills/yida-custom-page/reference/yida-api.md全面扩充
loadScript章节:g.alicdn.com/code/lib地址??分隔符).catch()错误处理skills/yida-custom-page/SKILL.md编码注意事项新增第 3 条「外部 JS 库引入」:
yida-api.md查看完整常用库地址列表