大厅与后台工单列表改为精确补丁并支持抢单确认

This commit is contained in:
yml2213
2026-08-22 09:30:38 +08:00
parent 1f7ff016df
commit ed81122047
7 changed files with 103 additions and 10 deletions
@@ -0,0 +1,10 @@
const GRAB_CONFIRM_KEY = 'order-site-worker-grab-confirm'
/** 抢单二次确认开关,默认关闭,由打手自行开启。 */
export function isGrabConfirmEnabled() {
return window.localStorage.getItem(GRAB_CONFIRM_KEY) === '1'
}
export function setGrabConfirmEnabled(enabled: boolean) {
window.localStorage.setItem(GRAB_CONFIRM_KEY, enabled ? '1' : '0')
}