fix:fix toolbar hide

This commit is contained in:
zyronon
2025-08-24 16:02:22 +08:00
parent 9fb2e8dd3e
commit 76a0bf04c6
9 changed files with 731 additions and 234 deletions

View File

@@ -30,6 +30,7 @@ const LoadingComponent = {
// 自定义指令
export default {
mounted(el, binding) {
console.log('el',)
const position = getComputedStyle(el).position
if (position === 'static' || !position) {
el.style.position = 'relative' // 保证 loading 居中