新增operat的blank用法;

This commit is contained in:
augushong
2022-01-09 22:33:25 +08:00
parent 28ff0ccd75
commit 86921ab9ad

View File

@@ -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 + '" ' : '';
}