forked from FoundKeyGang/FoundKey
fix: binding is not defined
This commit is contained in:
parent
b137a39160
commit
1ca6ad080c
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ function calc(src: Element) {
|
|||
}
|
||||
|
||||
export default {
|
||||
mounted(src) {
|
||||
mounted(src, binding) {
|
||||
const resize = new ResizeObserver(() => {
|
||||
calc(src);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue