Fix menu
gitea/hedera-web/pipeline/pr-beta This commit looks good
Details
gitea/hedera-web/pipeline/pr-beta This commit looks good
Details
This commit is contained in:
parent
52fe0f9f55
commit
ba0500725c
|
@ -32,8 +32,7 @@ export const useAppStore = defineStore('hedera', {
|
|||
}),
|
||||
actions: {
|
||||
async getMenuLinks() {
|
||||
const { data: sections } = await api.get('MyMenus');
|
||||
|
||||
const { data: sections } = await api.get('MyMenus/myMenu');
|
||||
if (!sections) return;
|
||||
|
||||
const sectionMap = new Map();
|
||||
|
@ -92,14 +91,21 @@ export const useAppStore = defineStore('hedera', {
|
|||
|
||||
async checkRedirect(checkoutContinue) {
|
||||
const orderId = this.basketOrderId;
|
||||
const myOrder_checkConfig = await api.post('applications/myOrder_checkConfig/execute-proc', {
|
||||
const myOrder_checkConfig = await api.post(
|
||||
'applications/myOrder_checkConfig/execute-proc',
|
||||
{
|
||||
schema: 'hedera',
|
||||
params: [orderId],
|
||||
}, {
|
||||
validateStatus: () => true,
|
||||
});
|
||||
params: [orderId]
|
||||
},
|
||||
{
|
||||
validateStatus: () => true
|
||||
}
|
||||
);
|
||||
|
||||
if (myOrder_checkConfig.status >= 200 && myOrder_checkConfig.status < 300) {
|
||||
if (
|
||||
myOrder_checkConfig.status >= 200 &&
|
||||
myOrder_checkConfig.status < 300
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue