1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 07:35:57 +09:00
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 messagingForm from './messaging-form.vue';
import messagingRoom from './messaging-room.vue'; import messagingRoom from './messaging-room.vue';
import messagingMessage from './messaging-message.vue'; import messagingMessage from './messaging-message.vue';
import urlPreview from './url-preview.vue';
Vue.component('mk-signin', signin); Vue.component('mk-signin', signin);
Vue.component('mk-signup', signup); Vue.component('mk-signup', signup);
@ -37,3 +38,4 @@ Vue.component('mk-messaging', messaging);
Vue.component('mk-messaging-form', messagingForm); Vue.component('mk-messaging-form', messagingForm);
Vue.component('mk-messaging-room', messagingRoom); Vue.component('mk-messaging-room', messagingRoom);
Vue.component('mk-messaging-message', messagingMessage); 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': case 'url':
return createElement(MkUrl, { return createElement(MkUrl, {
props: { props: {
href: escape(token.content), url: escape(token.content),
target: '_blank' target: '_blank'
} }
}); });