解决登录显示、首页显示bug

This commit is contained in:
2026-05-19 11:06:46 +08:00
parent 2f7e097e6c
commit 00a859c551
181 changed files with 55329 additions and 998 deletions

21
utils/deliveryRoute.uts Normal file
View File

@@ -0,0 +1,21 @@
export function getDeliveryRouteParam(options: UTSJSONObject | null, key: string): string {
if (options == null || key == '') {
return ''
}
try {
const value = options.getString(key)
if (value != null && value != '') {
return value
}
} catch (e) {}
try {
const rawValue = options[key]
if (rawValue != null) {
return '' + rawValue
}
} catch (e) {}
return ''
}