@tagplus/components 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tp.common.js +1 -1
- package/dist/tp.common.js.map +1 -1
- package/dist/tp.umd.js +1 -1
- package/dist/tp.umd.js.map +1 -1
- package/dist/tp.umd.min.js +1 -1
- package/dist/tp.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Dialog/Dialog.vue +5 -1
package/package.json
CHANGED
|
@@ -151,7 +151,9 @@ export default {
|
|
|
151
151
|
visible: {
|
|
152
152
|
immediate: true,
|
|
153
153
|
handler (val, oldValue) {
|
|
154
|
-
|
|
154
|
+
// Fixing undefined reference of $el with next tick.
|
|
155
|
+
this.$nextTick(() => {
|
|
156
|
+
if (val) {
|
|
155
157
|
this.closed = false
|
|
156
158
|
this.$emit('open')
|
|
157
159
|
this.$el.addEventListener('scroll', this.updatePopper)
|
|
@@ -170,7 +172,9 @@ export default {
|
|
|
170
172
|
})
|
|
171
173
|
}
|
|
172
174
|
}
|
|
175
|
+
})
|
|
173
176
|
}
|
|
177
|
+
|
|
174
178
|
}
|
|
175
179
|
},
|
|
176
180
|
|