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