Commit f19bde60 by liimin

test

1 parent e988a36d
...@@ -36,7 +36,7 @@ export default { ...@@ -36,7 +36,7 @@ export default {
// 统一边距 begin // 统一边距 begin
#app { #app {
background-color: transparent !important; background-color: transparent !important;
padding: 8px $left !important; padding: 16px 30px 16px 24px !important;
margin: 0 !important; margin: 0 !important;
position: relative !important; position: relative !important;
} }
......
...@@ -52,8 +52,10 @@ export default { ...@@ -52,8 +52,10 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
// 此时才能获取refs引用 // 此时才能获取refs引用
this.$refs.pop.doShow() this.$refs.pop.doShow()
onReady() this.$nextTick(() => {
setTimeout(() => this.$refs.pop.updatePopper(), 100) onReady()
this.$nextTick(() => this.$refs.pop.updatePopper())
})
}) })
}) })
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!