Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: 修复模块名util拼写错误问题 #89

Merged
merged 1 commit into from
Sep 6, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions public/static/plugs/easy-admin/easy-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine
element = layui.element,
laytpl = layui.laytpl,
tableSelect = layui.tableSelect,
util = layui.uitl;
util = layui.util;

layer.config({
skin: 'layui-layer-easy'
Expand Down Expand Up @@ -588,13 +588,13 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine
operat.title = operat.title || operat.text;
operat.text = operat.text || operat.title;
operat.extend = operat.extend || '';

// 自定义表格opreat按钮的弹窗标题风格,extra是表格里的欲加入标题中的字段
operat.extra = operat.extra || '';
if (data[operat.extra] !== undefined) {
operat.title = data[operat.extra] + ' - ' + operat.title;
}

operat.url = admin.table.toolSpliceUrl(operat.url, operat.field, data);
if (admin.checkAuth(operat.auth, elem)) {
html += admin.table.buildOperatHtml(operat);
Expand Down Expand Up @@ -993,7 +993,7 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine
});
return false;
});

// 放大一组图片
$('body').on('click', '[data-images]', function () {
var title = $(this).attr('data-images'),
Expand Down