修改登录

This commit is contained in:
xuli3099
2025-08-19 16:48:47 +08:00
parent d40d8e1e91
commit 2514b279b6

View File

@@ -73,7 +73,7 @@
</template>
<script setup>
import { ref,onMounted } from 'vue';
import { ref,onMounted,getCurrentInstance } from 'vue';
import { onLoad } from '@dcloudio/uni-app';
import customTabs from '@/components/customTabs.vue';
import {isPhoneNumber} from '@/utils/validate';
@@ -89,6 +89,8 @@ import {showAlert} from '@/utils/message.js'
// 获取 存储手机的module
const safeSave = uni.requireNativePlugin("Tm-TmSafeSaveFileModule");
// #endif
const { proxy } = getCurrentInstance();
const userStore = useUserStore();
let clientId = `${proxy.$CLIENT_ID || 2}`;
let networkEnv = ref(proxy.$NETWORK_ENV);//1-内网 2-外网