fix: 代码提交

This commit is contained in:
huxuejian 2026-01-30 14:16:43 +08:00
parent 2cc2b01477
commit cde557022f
6 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,4 @@
MP_API_BASE_URL=http://localhost:8080
MP_API_BASE_URL=https://patient.youcan365.com
MP_CACHE_PREFIX=development
MP_WX_APP_ID=wx93af55767423938e
MP_CORP_ID=wwe3fb2faa52cf9dfb

View File

@ -1,3 +1,4 @@
MP_API_BASE_URL=http://192.168.60.2:8080
MP_API_BASE_URL=http://localhost:8080
MP_CACHE_PREFIX=development
MP_WX_APP_ID=wx93af55767423938e
MP_CORP_ID=wwe3fb2faa52cf9dfb

View File

@ -1,5 +1,5 @@
<template>
<view v-if="showCancel || showConfirm" class="relative px-15 py-12 bg-white text-center"
<view v-if="showCancel || showConfirm" class="relative flex px-15 py-12 bg-white text-center"
:class="hidedenShadow ? '' : 'shadow-up'">
<view v-if="showCancel" class="flex-grow py-10 text-base border-primary rounded text-primary rounded"
@click="cancel()">

View File

@ -40,6 +40,7 @@ import { toast } from "@/utils/widget";
import groupAvatar from "@/components/group-avatar.vue";
const team = ref(null);
const checked = ref(false);
const redirectUrl = ref("");

View File

@ -1,5 +1,5 @@
<template>
<view v-if="member" class="flex p-15 bg-whtie shadow-lg">
<view v-if="member" class="flex p-15 bg-white shadow-lg">
<view class="flex-grow w-0 mr-10 leading-normal">
<view class="flex items-center">
<view class="mr-5 flex-shrink-0 text-xl text-dark font-semibold">{{ member.anotherName }}</view>

View File

@ -7,6 +7,7 @@ const env = __VITE_ENV__;
export default defineStore("accountStore", () => {
const appid = env.MP_WX_APP_ID;
const corpId = env.MP_CORP_ID;
const account = ref(null);
const loading = ref(false)
@ -22,8 +23,10 @@ export default defineStore("accountStore", () => {
});
if (code) {
const res = await api('wxAppLogin', {
appId:appid,
phoneCode,
code,
corpId
});
loading.value = false
if (res.success && res.data && res.data.mobile) {