提交
This commit is contained in:
1 parent
4a00f21bfb
commit
edf88dc016
1503 files changed
+329728
-41987
No files matched your search
@@ -83,7 +83,7 @@
|
||||
[/(采集|地区|洁净|库位)/, 'auto-title-location'],
|
||||
[/(预约)/, 'auto-title-operation'],
|
||||
[/(工单)/, 'auto-title-receipt'],
|
||||
[/(流程|待办|已办|申请|请假|执行)/, 'auto-title-operation'],
|
||||
[/(流程|待办|已办|申请|请假|执行|计划)/, 'auto-title-operation'],
|
||||
[/(耗材|试剂)/, 'auto-title-box'],
|
||||
[/(路线)/, 'auto-title-route'],
|
||||
[/(工艺)/, 'auto-title-settings'],
|
||||
@@ -102,10 +102,7 @@
|
||||
[/(入口|概览|选择)/, 'auto-title-menu']
|
||||
]
|
||||
|
||||
const panelTitleClassList = [
|
||||
...panelTitleIconByText.map(([, cls]) => cls),
|
||||
'auto-title-list'
|
||||
]
|
||||
const panelTitleClassList = [...panelTitleIconByText.map(([, cls]) => cls), 'auto-title-list']
|
||||
const panelTitleBarClass = 'title-bar-heading'
|
||||
const panelTitleHeadingSelector =
|
||||
'.page-container .panel-top h2, .page-container .panel-top h3, .page-container .storage-content-header h3, .page-container .storage-aside__head h2, .page-container .user-dept-aside__head h2, .console-container .panel-top h2'
|
||||
@@ -115,9 +112,7 @@
|
||||
|
||||
headings.forEach((heading) => {
|
||||
const text = (heading.textContent || '').replace(/\s+/g, '')
|
||||
const preferPanelIcon = Boolean(
|
||||
heading.closest('.page-container, .console-container')
|
||||
)
|
||||
const preferPanelIcon = Boolean(heading.closest('.page-container, .console-container'))
|
||||
|
||||
if (!preferPanelIcon) return
|
||||
|
||||
|
||||
Reference in new issue
Block a user