Better post form
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user