进行了一些小优化

This commit is contained in:
2026-08-24 17:40:35 +08:00
parent 9d3bfb91cd
commit 6674bded6a
6 changed files with 4 additions and 41 deletions
@@ -371,6 +371,9 @@ test('profile routes load versioned leaf styles and keep dialogs hidden initiall
assert.match(ordersCss, /\.aksrt-orders-page__status-filters, \.aksrt-orders-page__type-filters/);
assert.doesNotMatch(ordersCss, /\.aksrt-orders-page__tabs|\.aksrt-orders-page__tab(?:\s|\.|:|\{)/);
assert.match(orderCenterJs, /if \(panel\) panel\.hidden = expanded;/);
assert.doesNotMatch(profileOrders, /can_open|entitlement_label|is-entitlement/);
assert.doesNotMatch(orderCenterJs, /can_open|entitlement_label|is-entitlement/);
assert.doesNotMatch(ordersCss, /is-entitlement/);
assert.match(userCenterJs, /name === 'follow' \|\| name === 'orders'/);
assert.match(userCenterJs, /\['order_status', 'order_type', 'order_number', 'order_page'\]/);
});