Improve usability

This commit is contained in:
syuilo
2018-09-01 09:16:25 +09:00
parent 4c6fb60dd2
commit 6819eb3b4d
11 changed files with 72 additions and 45 deletions

View File

@ -42,6 +42,10 @@
<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>
@ -107,7 +111,11 @@ export default Vue.extend({
methods: {
fn() {
(this as any).apis.post();
this.$modal.push('postForm');
},
postFormClosed() {
this.$modal.pop();
},
saveSrc() {