diff --git a/public/static/plugs/easy-admin/easy-admin.js b/public/static/plugs/easy-admin/easy-admin.js index aab7142..2ddedd1 100644 --- a/public/static/plugs/easy-admin/easy-admin.js +++ b/public/static/plugs/easy-admin/easy-admin.js @@ -245,9 +245,9 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine extend: 'data-table-id="' + options.id + '"' }]; - + options.page = { - layout: ['first','prev', 'page', 'next','last','count'] + layout: ['first', 'prev', 'page', 'next', 'last', 'count'] } } @@ -477,6 +477,9 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine formatToolbar.method = formatToolbar.method !== '' ? 'data-open="' + formatToolbar.url + '" data-title="' + formatToolbar.title + '" ' : ''; } else if (toolbar.method === 'none') { // 常用于与extend配合,自定义监听按钮 formatToolbar.method = ''; + } else if (operat.method === 'blank') { + formatOperat.method = ' href="' + formatOperat.url + '" target="_blank" '; + } else { formatToolbar.method = formatToolbar.method !== '' ? 'data-request="' + formatToolbar.url + '" data-title="' + formatToolbar.title + '" ' : ''; }