refactor(client): use composition api
This commit is contained in:
parent
f06ded9433
commit
6558cd2f27
6 changed files with 43 additions and 97 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue