mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
新增operat的blank用法;
This commit is contained in:
@@ -532,6 +532,8 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine
|
||||
formatOperat.method = formatOperat.method !== '' ? 'data-open="' + formatOperat.url + '" data-title="' + formatOperat.title + '" ' : '';
|
||||
} else if (operat.method === 'none') { // 常用于与extend配合,自定义监听按钮
|
||||
formatOperat.method = '';
|
||||
} else if (operat.method === 'blank') {
|
||||
formatOperat.method = ' href="' + formatOperat.url + '" target="_blank" ';
|
||||
} else {
|
||||
formatOperat.method = formatOperat.method !== '' ? 'data-request="' + formatOperat.url + '" data-title="' + formatOperat.title + '" ' : '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user