This commit is contained in:
wangweidong 2026-02-28 15:52:27 +08:00
parent 3d63859b7a
commit 49a0bd992b
2 changed files with 8 additions and 8 deletions

View File

@ -374,8 +374,8 @@
savephoto(filePath, 0);
} else if (JSON.parse(JSON.parse(uploadRes.data).result.data).data.back) {
let father = JSON.parse(JSON.parse(uploadRes.data).result.data).data.back.data;
let regex = /^\d{4}.\d{2}.\d{2}$/;
console.log(regex.test(father.validPeriod))
let regex = /[\u4E00-\u9FA5\uF900-\uFA2D]{1,}/;
console.log(regex.test(father.validPeriod),father.validPeriod)
if(father.validPeriod == "女"){
uni.showToast({
@ -383,7 +383,7 @@
icon: 'none',
duration: 2000
})
uping.value = false;
uping.value = true;
return
}

View File

@ -119,11 +119,11 @@
// console.log("?????",item.value)
})
const tother = ref(0)
onShow(()=>{
if(tother.value == 1){
uni.navigateBack({delta:2})
}
})
// onShow(()=>{
// if(tother.value == 1){
// uni.navigateBack({delta:2})
// }
// })
onHide(()=>{
tother.value = 1;
uni.request({