修改版本号
This commit is contained in:
@@ -107,7 +107,7 @@ let timer = null;
|
|||||||
const navBarPaddingTop = ref(0);
|
const navBarPaddingTop = ref(0);
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
navBarPaddingTop.value = getNavBarPaddingTop();
|
navBarPaddingTop.value = getNavBarPaddingTop();
|
||||||
deviceId.value = uni.getStorageSync('app_device');// 本地设备ID
|
deviceId.value = uni.getStorageSync('app_device_id');// 本地设备ID
|
||||||
await selectBindStatus();
|
await selectBindStatus();
|
||||||
console.log("333bindStatus=>",bindStatus.value)
|
console.log("333bindStatus=>",bindStatus.value)
|
||||||
if(bindStatus.value==2){
|
if(bindStatus.value==2){
|
||||||
@@ -198,7 +198,7 @@ const submitForm = () => {
|
|||||||
btnLoading.value = false;
|
btnLoading.value = false;
|
||||||
|
|
||||||
deviceId.value = uuidv4();console.log("新生成=>",deviceId.value);
|
deviceId.value = uuidv4();console.log("新生成=>",deviceId.value);
|
||||||
uni.setStorageSync('app_device', deviceId.value)
|
uni.setStorageSync('app_device_id', deviceId.value)
|
||||||
|
|
||||||
bindStatus.value = 2;//默认为 等待审核
|
bindStatus.value = 2;//默认为 等待审核
|
||||||
|
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ const handleClose=()=>{
|
|||||||
const selectDeviceId = async()=>{
|
const selectDeviceId = async()=>{
|
||||||
// 查询本地缓存的设备状态是否绑定过
|
// 查询本地缓存的设备状态是否绑定过
|
||||||
let deviceId = ref(undefined);
|
let deviceId = ref(undefined);
|
||||||
deviceId.value = uni.getStorageSync('app_device');// 本地设备ID
|
deviceId.value = uni.getStorageSync('app_device_id');// 本地设备ID
|
||||||
let res = await getBindStatus({deviceId:deviceId.value});
|
let res = await getBindStatus({deviceId:deviceId.value});
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
// 检查是否已登录 并 获取用户信息
|
// 检查是否已登录 并 获取用户信息
|
||||||
|
|||||||
Reference in New Issue
Block a user