fix: binding is not defined

This commit is contained in:
Johann150 2022-08-18 15:15:17 +02:00
parent b137a39160
commit 1ca6ad080c
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -33,7 +33,7 @@ function calc(src: Element) {
}
export default {
mounted(src) {
mounted(src, binding) {
const resize = new ResizeObserver(() => {
calc(src);
});