修改调整页面样式
This commit is contained in:
@@ -54,18 +54,20 @@
|
||||
onLoad
|
||||
} from '@dcloudio/uni-app'
|
||||
import {
|
||||
reactive,
|
||||
reactive,onBeforeMount,
|
||||
ref
|
||||
} from 'vue';
|
||||
let nouser = ref(false)
|
||||
|
||||
let timer=null
|
||||
function emitChooser(data) {
|
||||
uni.$emit('choose-user', data)
|
||||
setTimeout(() => {
|
||||
timer=setTimeout(() => {
|
||||
uni.navigateBack()
|
||||
}, 100)
|
||||
}
|
||||
|
||||
onBeforeMount(()=>{
|
||||
clearInterval(timer)
|
||||
})
|
||||
function chooseUser(index, item) {
|
||||
if (index === undefined || item === undefined) {
|
||||
nouser.value = true
|
||||
|
||||
Reference in New Issue
Block a user