Refactor client (#3178)
* wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
This commit is contained in:
parent
5d882dc3df
commit
3f79c9ae49
52 changed files with 328 additions and 421 deletions
|
|
@ -88,7 +88,7 @@ export default (opts: Opts = {}) => ({
|
|||
|
||||
methods: {
|
||||
reply(viaKeyboard = false) {
|
||||
this.$root.apis.post({
|
||||
this.$root.$post({
|
||||
reply: this.appearNote,
|
||||
animation: !viaKeyboard,
|
||||
cb: () => {
|
||||
|
|
@ -98,7 +98,7 @@ export default (opts: Opts = {}) => ({
|
|||
},
|
||||
|
||||
renote(viaKeyboard = false) {
|
||||
this.$root.apis.post({
|
||||
this.$root.$post({
|
||||
renote: this.appearNote,
|
||||
animation: !viaKeyboard,
|
||||
cb: () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue