优化台桌点餐

This commit is contained in:
gyq
2024-10-11 14:26:39 +08:00
parent cfd04625dd
commit 72cf926747
11 changed files with 350 additions and 59 deletions

View File

@@ -73,8 +73,11 @@ import { douyincheckIn } from "@/api/group";
import { useUser } from "@/store/user.js";
import { useSocket } from "@/store/socket.js";
import { useGlobal } from '@/store/global.js'
import { useShop } from '@/store/shop.js'
const global = useGlobal()
const shopInfo = useShop()
const store = useUser();
const socket = useSocket();
@@ -125,6 +128,7 @@ const submitHandle = () => {
.then(async (res) => {
ElMessage.success("登录成功");
socket.init();
await shopInfo.queryShopInfo()
setTimeout(() => {
router.replace({
name: "home",