
组件封装
/assets/js/platform/form/formDef/custCombox.js:
/**
* 自定义下拉框(版本管理)
*/
UE.registerUI("custCombox", function (editor, uiName) {
var key = $.getParam("key"),
btnType = $.getParam("btnType");
if (!key) return null;
var combox = null;
$.ajax({
url: `${
window.__ctx}/form/formDefHistory/getList?formKey=

本文介绍了如何基于UEditor组件进行二次开发,创建一个支持HTML版本管理的自定义下拉框。通过封装的`custCombox.js`,实现了在ueditor.js中集成此功能。
最低0.47元/天 解锁文章
5222

被折叠的 条评论
为什么被折叠?



