feat: 家具初版

This commit is contained in:
砂糖
2025-09-03 11:55:00 +08:00
parent 623fa846a4
commit 82faee4f7c
44 changed files with 1824 additions and 943 deletions

View File

@@ -69,6 +69,7 @@ import { getCodeImg } from "@/api/login"
import Cookies from "js-cookie"
import { encrypt, decrypt } from "@/utils/jsencrypt"
import useUserStore from '@/store/modules/user'
import useProductStore from '@/store/modules/product'
const title = import.meta.env.VITE_APP_TITLE
const userStore = useUserStore()
@@ -127,6 +128,7 @@ function handleLogin() {
return acc
}, {})
router.push({ path: redirect.value || "/", query: otherQueryParams })
useProductStore().fetchProductMap()
}).catch(() => {
loading.value = false
// 重新获取验证码