feat:寄卖增加对接客服,页面移动到接单平台
This commit is contained in:
@@ -18,6 +18,13 @@ test('风控 tab 必须被 isWorkerPlatformTab 接受(漏登记会导致点击
|
||||
assert.equal(isWorkerPlatformTab('risk-control'), true)
|
||||
})
|
||||
|
||||
test('对接客服 tab 必须被 isWorkerPlatformTab 接受,并登记切页刷新缓存', () => {
|
||||
assert.equal(isWorkerPlatformTab('consignment-contacts'), true)
|
||||
assert.deepEqual(WORKER_PLATFORM_TAB_QUERY_KEYS['consignment-contacts'], [
|
||||
['admin-consignment-contacts'],
|
||||
])
|
||||
})
|
||||
|
||||
test('每个登记了切页缓存的 tab 都必须在合法 tab 名单里', () => {
|
||||
const nonTabs = new Set(WORKER_PLATFORM_NON_TAB_QUERY_KEYS)
|
||||
for (const key of Object.keys(WORKER_PLATFORM_TAB_QUERY_KEYS)) {
|
||||
|
||||
Reference in New Issue
Block a user