Better post form

This commit is contained in:
syuilo
2018-09-01 20:47:49 +09:00
parent 70ac668474
commit 5209a584a2
11 changed files with 184 additions and 83 deletions

View File

@ -42,10 +42,6 @@
<mk-user-list-timeline v-if="src == 'list'" ref="tl" :key="list.id" :list="list"/>
</div>
</main>
<modal name="postForm">
<mk-post-form @posted="postFormClosed" @cancel="postFormClosed"/>
</modal>
</mk-ui>
</template>
@ -111,11 +107,7 @@ export default Vue.extend({
methods: {
fn() {
this.$modal.push('postForm');
},
postFormClosed() {
this.$modal.pop();
(this as any).apis.post();
},
saveSrc() {