feat: rating
This commit is contained in:
@@ -94,6 +94,7 @@ import { getPlatformProvider, isSinglePageMode } from "@/utils/system";
|
||||
import { uploadImage } from "@/utils/common";
|
||||
import { apiLogin } from "@/api/auth.js";
|
||||
import { wxLogin, alipayLogin } from "@/utils/login.js";
|
||||
import { refreshMessageTabBarBadge } from "@/utils/tabBar";
|
||||
import PrivacyPopup from "@/components/PrivacyPopup/PrivacyPopup.vue";
|
||||
|
||||
const popupRef = ref(null);
|
||||
@@ -219,6 +220,7 @@ const handleAlipayLogin = async () => {
|
||||
|
||||
uni.hideLoading();
|
||||
uni.showToast({ title: "登录成功", icon: "success" });
|
||||
refreshMessageTabBarBadge();
|
||||
emit("logind");
|
||||
popupRef.value.close();
|
||||
|
||||
@@ -292,6 +294,7 @@ const confirmLogin = async () => {
|
||||
userStore.setToken(loginRes.token);
|
||||
uni.hideLoading();
|
||||
uni.showToast({ title: "登录成功", icon: "success" });
|
||||
refreshMessageTabBarBadge();
|
||||
emit("logind");
|
||||
popupRef.value.close();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user