This commit is contained in:
syuilo 2018-02-20 23:17:04 +09:00
parent dea85c3a97
commit 648e691b8c
2 changed files with 3 additions and 1 deletions

View file

@ -18,6 +18,7 @@ import messaging from './messaging.vue';
import messagingForm from './messaging-form.vue';
import messagingRoom from './messaging-room.vue';
import messagingMessage from './messaging-message.vue';
import urlPreview from './url-preview.vue';
Vue.component('mk-signin', signin);
Vue.component('mk-signup', signup);
@ -37,3 +38,4 @@ Vue.component('mk-messaging', messaging);
Vue.component('mk-messaging-form', messagingForm);
Vue.component('mk-messaging-room', messagingRoom);
Vue.component('mk-messaging-message', messagingMessage);
Vue.component('mk-url-preview', urlPreview);

View file

@ -44,7 +44,7 @@ export default Vue.component('mk-post-html', {
case 'url':
return createElement(MkUrl, {
props: {
href: escape(token.content),
url: escape(token.content),
target: '_blank'
}
});