Commit 4bb74318 authored by youjie's avatar youjie

no message

parent 92d709de
......@@ -74,7 +74,6 @@ export default {
scrollStyle: {} as any,
timer: 0,
isDadge: true,
index: 0
})
const childPageTitle = ref('')
provide(DirtionmaryHelper.PAGE_TITLE_KEY ,childPageTitle)
......@@ -86,15 +85,12 @@ export default {
},
}
onMounted(()=>{ //组件挂载时的生命周期执行的方法
data.timer = setInterval(()=> {
// 其他定时执行的方法
data.index = data.index + 1
if(data.index%2){
data.isDadge = false
}else{
data.isDadge = true
}
onMounted(()=>{
setInterval(()=> {
data.isDadge = false
setTimeout(()=>{
data.isDadge = true
},200)
}, 1000);
})
return {
......@@ -126,8 +122,8 @@ export default {
fill:var(--q-primary) !important;
}
.header-badge{
width: 5px;
height: 5px;
width: 6px;
height: 6px;
border-radius: 50%;
position: absolute;
margin-top: -40px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment