mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-11-09 04:20:50 +08:00
fix(admin-table): 修复工具栏按钮 tab 分支误引 operat 变量致表格渲染中断
This commit is contained in:
@@ -1838,7 +1838,7 @@
|
|||||||
formatToolbar.method = '';
|
formatToolbar.method = '';
|
||||||
} else if (toolbar.method === 'blank') {
|
} else if (toolbar.method === 'blank') {
|
||||||
formatToolbar.method = ' href="' + formatToolbar.url + '" target="_blank" ';
|
formatToolbar.method = ' href="' + formatToolbar.url + '" target="_blank" ';
|
||||||
} else if (operat.method === 'tab') {
|
} else if (toolbar.method === 'tab') {
|
||||||
formatToolbar.method = ' layuimini-content-href="' + formatToolbar.url + '" data-title="' + formatToolbar.title + '"';
|
formatToolbar.method = ' layuimini-content-href="' + formatToolbar.url + '" data-title="' + formatToolbar.title + '"';
|
||||||
} else {
|
} else {
|
||||||
formatToolbar.method = formatToolbar.method !== '' ? 'data-request="' + formatToolbar.url + '" data-title="' + formatToolbar.title + '" ' : '';
|
formatToolbar.method = formatToolbar.method !== '' ? 'data-request="' + formatToolbar.url + '" data-title="' + formatToolbar.title + '" ' : '';
|
||||||
|
|||||||
Reference in New Issue
Block a user