巡检
This commit is contained in:
@@ -34,7 +34,6 @@ import { useUserStore } from '@/stores/user';
|
||||
const userStore = useUserStore();
|
||||
const { proxy } = getCurrentInstance();
|
||||
const networkEnv = ref(proxy.$NETWORK_ENV);//1-内网 2-外网
|
||||
console.log(111,networkEnv.value)
|
||||
|
||||
// #ifdef APP-PLUS
|
||||
// 获取 存储手机的module
|
||||
@@ -50,7 +49,7 @@ let downloadURL = ref(''); //下载地址
|
||||
let versionData = ref({}); //版本参数
|
||||
// 初始load页面
|
||||
onLoad(async(opt) => {
|
||||
console.log("onLoad");
|
||||
// console.log("onLoad");
|
||||
// uni.preloadPage({url: "/pages/login/login"});
|
||||
// uni.preloadPage({url: "/pages/deviceAuth/deviceAuth"});
|
||||
// uni.preloadPage({url: "/pages/home/home"});
|
||||
@@ -101,7 +100,11 @@ onLoad(async(opt) => {
|
||||
// 获取minio参数
|
||||
const getMinioParam=async ()=>{
|
||||
let data = await minioParam({});
|
||||
uni.setStorageSync(MINIO_KEY,JSON.stringify(data))
|
||||
let minioThumbUrl = data.endpoint + "/thumb/"+data.bucketName;
|
||||
let minioUrl = data.endpoint + "/"+data.bucketName
|
||||
uni.setStorageSync(MINIO_KEY,JSON.stringify({
|
||||
minioThumbUrl,minioUrl
|
||||
}))
|
||||
}
|
||||
|
||||
// 检查版本是否是最新的s
|
||||
|
||||
Reference in New Issue
Block a user