feat: alipay navbar
This commit is contained in:
@@ -248,6 +248,7 @@ const confirmLogin = async () => {
|
||||
const platform = getPlatformProvider();
|
||||
|
||||
if (platform === "mp-weixin") {
|
||||
uni.showLoading({ title: "登录中...", mask: true });
|
||||
const code = await wxLogin();
|
||||
const imageUrl = avatarUrl.value
|
||||
? await uploadImage(avatarUrl.value)
|
||||
@@ -270,7 +271,7 @@ const confirmLogin = async () => {
|
||||
});
|
||||
|
||||
userStore.setToken(loginRes.token);
|
||||
|
||||
uni.hideLoading();
|
||||
uni.showToast({ title: "登录成功", icon: "success" });
|
||||
emit("logind");
|
||||
popupRef.value.close();
|
||||
|
||||
Reference in New Issue
Block a user