[Client] Fix bug

This commit is contained in:
syuilo 2018-11-09 08:26:32 +09:00
parent 60ef3e3563
commit fccbecf159
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
44 changed files with 83 additions and 81 deletions

View file

@ -88,7 +88,7 @@ export default (opts: Opts = {}) => ({
methods: {
reply(viaKeyboard = false) {
(this as any).apis.post({
this.$root.apis.post({
reply: this.appearNote,
animation: !viaKeyboard,
cb: () => {
@ -98,7 +98,7 @@ export default (opts: Opts = {}) => ({
},
renote(viaKeyboard = false) {
(this as any).apis.post({
this.$root.apis.post({
renote: this.appearNote,
animation: !viaKeyboard,
cb: () => {