parent
c850cef711
commit
73b5c12927
40 changed files with 817 additions and 153 deletions
|
|
@ -58,6 +58,7 @@ export default defineComponent({
|
|||
mounted() {
|
||||
this.$watch('src', () => {
|
||||
if (this.src) {
|
||||
// eslint-disable-next-line vue/no-mutating-props
|
||||
this.src.style.pointerEvents = 'none';
|
||||
}
|
||||
this.fixed = getFixedContainer(this.src) != null;
|
||||
|
|
@ -159,6 +160,7 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
close() {
|
||||
// eslint-disable-next-line vue/no-mutating-props
|
||||
if (this.src) this.src.style.pointerEvents = 'auto';
|
||||
this.showing = false;
|
||||
this.$emit('close');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue