refactor(client): use composition api

This commit is contained in:
syuilo
2022-01-07 15:02:25 +09:00
parent f06ded9433
commit 6558cd2f27
6 changed files with 43 additions and 97 deletions

View File

@ -76,7 +76,7 @@ export default defineComponent({
tweetExpanded: this.detail,
embedId: `embed${Math.random().toString().replace(/\D/,'')}`,
tweetHeight: 150,
tweetLeft: 0,
tweetLeft: 0,
playerEnabled: false,
self: self,
attr: self ? 'to' : 'href',