Improve usability
This commit is contained in:
parent
7c5bc03492
commit
f77eaaa08a
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="ulveipglmagnxfgvitaxyszerjwiqmwl">
|
<div class="ulveipglmagnxfgvitaxyszerjwiqmwl">
|
||||||
<div class="bg" ref="bg" @click="onBgClick"></div>
|
<div class="bg" ref="bg"></div>
|
||||||
<div class="main" ref="main" @click.self="onBgClick">
|
<div class="main" ref="main">
|
||||||
<mk-post-form ref="form"
|
<mk-post-form ref="form"
|
||||||
:reply="reply"
|
:reply="reply"
|
||||||
:renote="renote"
|
:renote="renote"
|
||||||
@ -83,11 +83,6 @@ export default Vue.extend({
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
onBgClick() {
|
|
||||||
this.$emit('cancel');
|
|
||||||
this.close();
|
|
||||||
},
|
|
||||||
|
|
||||||
onPosted() {
|
onPosted() {
|
||||||
this.$emit('posted');
|
this.$emit('posted');
|
||||||
this.close();
|
this.close();
|
||||||
|
Loading…
Reference in New Issue
Block a user