From fd6d35b0441c2f8fd0d41c15628f3335049a0c7c Mon Sep 17 00:00:00 2001 From: lanzhihui <503792708@qq.com> Date: Wed, 15 Apr 2026 16:37:56 +0800 Subject: [PATCH] update --- src/main.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 16e1dd4..9b91f33 100644 --- a/src/main.js +++ b/src/main.js @@ -170,7 +170,12 @@ router.beforeEach((to, from, next) => { } if (!store.state.app.merchant_id) { if (to.path != '/missingPage') { - next({ path: '/missingPage' }) + const IS_PROD = ['production', 'prod'].includes(process.env.NODE_ENV) + if (!IS_PROD) { + next({ path: '/information', query: { merchant_id: 596 }}) + } else { + next({ path: '/missingPage' }) + } } else { next() }