This commit is contained in:
syuilo 2018-03-05 14:09:12 +09:00
parent 51e71d5870
commit ca30798910
3 changed files with 20 additions and 4 deletions

View file

@ -14,7 +14,8 @@
@posted="onPosted"
@change-uploadings="onChangeUploadings"
@change-attached-media="onChangeMedia"
@geo-attached="onGeoAttached"/>
@geo-attached="onGeoAttached"
@geo-dettached="onGeoDettached"/>
</mk-window>
</template>
@ -45,6 +46,9 @@ export default Vue.extend({
onGeoAttached(geo) {
this.geo = geo;
},
onGeoDettached() {
this.geo = null;
},
onPosted() {
(this.$refs.window as any).close();
}