1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-12 13:48:28 +09:00

コンポーネントの活性時に再計算するように (#5829)

This commit is contained in:
fuyu 2020-02-05 07:54:49 +09:00 committed by GitHub
parent aade954dd7
commit 8e21458e16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
export default {
inserted(el, binding) {
inserted(el, binding, vn) {
const query = binding.value;
/*
@ -55,6 +55,7 @@ export default {
el._sizeResizeCb_ = calc;
window.addEventListener('resize', calc);
vn.context.$on('hook:activated', calc);
},
unbind(el, binding, vn) {