@ -53,7 +53,7 @@ const useOrderStore = create((set, get) => ({
if (json.errcode === 0) {
set(() => ({
orderList: json.result.map((order) => { return { ...order, key: order.COLI_ID } }),
}))
} else {
throw new Error(json?.errmsg + ': ' + json.errcode)
}
@ -49,11 +49,13 @@ function AuthApp() {
}, [])
let defaultPath = 'follow'
let defaultPath = '/order/follow'
if (href !== '/') {
const splitPath = href.split('/')
defaultPath = href
if (splitPath.length > 2) {
defaultPath = '/' + splitPath[1] + '/' + splitPath[2]
const {