fix(admin-table): 修复工具栏按钮 tab 分支误引 operat 变量致表格渲染中断

This commit is contained in:
augushong
2026-10-12 14:26:21 +00:00
parent a756b8a1cd
commit aee34dc283

View File

@@ -1838,7 +1838,7 @@
formatToolbar.method = '';
} else if (toolbar.method === '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 + '"';
} else {
formatToolbar.method = formatToolbar.method !== '' ? 'data-request="' + formatToolbar.url + '" data-title="' + formatToolbar.title + '" ' : '';