fix(Sticky): Element not exist during SSR (#8407)

* fix(Sticky): Element not exist during SSR

* chore: upd
This commit is contained in:
neverland 2021-03-25 11:35:59 +08:00 committed by GitHub
parent 507adef9b2
commit 2cad166226
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ export default defineComponent({
props: {
zIndex: [Number, String],
container: Element,
container: Object as PropType<Element>,
offsetTop: {
type: [Number, String],
default: 0,