优化 code 的 tools 的 event 返回参数,增加当前示例配置项

pull/1368/head
贤心 2023-09-10 20:21:22 +08:00
parent 796a064e09
commit a1f5069f83
1 changed files with 1 additions and 0 deletions

View File

@ -328,6 +328,7 @@ layui.define(['lay', 'util', 'element', 'form'], function(exports){
var parameters = {
elem: oi,
type: type,
options: options, // 当前属性选项
rawCode: rawCode.join(''), // 原始 code
finalCode: util.unescape(finalCode) // 最终 code
};