admin user and ui panel

This commit is contained in:
s.esmaeili
2026-09-21 08:32:31 +03:30
parent 79226c9f13
commit ef1d4638cc
341 changed files with 2270 additions and 657 deletions
+2 -2
View File
@@ -104,8 +104,8 @@ async function loginJWT() {
// inactive in this port; the field is omitted rather than sent as null.
await auth.login({ phone: mobile.value, password: password.value });
// legacy did a hard `window.location.href = '/admin/my-data'`; a router push
// reaches the same route without discarding the freshly-populated store.
await router.push('/my-data');
// reaches the equivalent route without discarding the freshly-populated store.
await router.push('/dashboard/ecommerce');
} catch (e) {
console.log(e);
message.error('خطا در ورود');