大厅与后台工单列表改为精确补丁并支持抢单确认
This commit is contained in:
@@ -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')
|
||||
}
|
||||
Reference in New Issue
Block a user