01 2024 档案
摘要:由于要解决adsense引起的CLS issue,根据 https://web.dev/articles/optimize-cls?utm_source=lighthouse&utm_medium=lr给出的建议,在广告的container上加上min-height。 <div v-if="$q.p
阅读全文
摘要:1.为了解决页面CLS的issue,我给adsense的parent container设置了一个min-height,结果console报错:No slot size for availableWidth=0 <q-item v-if="$q.platform.is.mobile" class="
阅读全文
摘要:Caused by: java.lang.IllegalStateException: Failed to check the status of the service com.davidhu.shopguide.api.service.UserEventService. No provider
阅读全文
摘要:亲测,只在ssr模式会出现页面漂移现象,尚不知道原因 原因已找到:ssr模式的偏移是因为会重新计算header的高度,一开始header没算进去,会向上偏移header的高度,计算完后再回到位置。只要在<q-header height-hint="120">加上一个 height-hint预估hea
阅读全文