This commit is contained in:
syuilo 2018-02-20 23:17:04 +09:00
parent a35575438c
commit 2f3cbd236c
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'
}
});