feat(shipping-notice): 收敛复核状态隔离、STP 重试幂等与 XFA 合成预览标注
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
84a881b554
commit
74270adc22
149 files changed
+20111
-3871
No files matched your search
@@ -71,6 +71,24 @@ function onFocus(conflict: ShippingOrderReviewFieldConflict) {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 聚焦第一个未解决冲突(Footer / Resolver 委托)。
|
||||
*/
|
||||
function focusFirstConflict() {
|
||||
const first = openConflicts.value[0];
|
||||
if (!first) return;
|
||||
onFocus(first);
|
||||
void Promise.resolve().then(() => {
|
||||
document
|
||||
.querySelector(`[data-testid="review-field-conflict-${first.conflict_key}"]`)
|
||||
?.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
|
||||
});
|
||||
}
|
||||
|
||||
defineExpose({
|
||||
focusFirstConflict,
|
||||
});
|
||||
|
||||
/**
|
||||
* 采用某一候选值。
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user