wip
This commit is contained in:
parent
0766a76348
commit
9fd00d1179
51 changed files with 93 additions and 93 deletions
|
|
@ -209,7 +209,7 @@
|
|||
nidState: 'wait'
|
||||
});
|
||||
|
||||
this.api('app/name_id/available', {
|
||||
this.$root.$data.os.api('app/name_id/available', {
|
||||
name_id: nid
|
||||
}).then(result => {
|
||||
this.update({
|
||||
|
|
@ -235,7 +235,7 @@
|
|||
|
||||
const locker = document.body.appendChild(document.createElement('mk-locker'));
|
||||
|
||||
this.api('app/create', {
|
||||
this.$root.$data.os.api('app/create', {
|
||||
name: name,
|
||||
name_id: nid,
|
||||
description: description,
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
this.fetching = true;
|
||||
|
||||
this.on('mount', () => {
|
||||
this.api('app/show', {
|
||||
this.$root.$data.os.api('app/show', {
|
||||
app_id: this.opts.app
|
||||
}).then(app => {
|
||||
this.update({
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
this.fetching = true;
|
||||
|
||||
this.on('mount', () => {
|
||||
this.api('my/apps').then(apps => {
|
||||
this.$root.$data.os.api('my/apps').then(apps => {
|
||||
this.fetching = false
|
||||
this.apps = apps
|
||||
this.update({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue